All Packages Class Hierarchy This Package Previous Next Index
Class java.security.IllegalBlockSizeException
java.lang.Object
|
+----java.lang.Throwable
|
+----java.lang.Exception
|
+----java.lang.RuntimeException
|
+----java.security.IllegalBlockSizeException
- public synchronized class IllegalBlockSizeException
- extends RuntimeException
ATTENTION:
This is NOT the implementation from Sun. This class
has been developed by IAIK according to the documentation
publically available. Only the documentation from Sun has been
inserted into the source files.
This exception is thrown when an incorrect block size is processed
through a cipher.
-
blockSize
- The block size of the cipher.
-
dataSize
- The size of the data passed to the cipher.
-
IllegalBlockSizeException(int, int)
- Constructs an IllegalBlockSizeException with the specified
block size and illegal data size values.
-
IllegalBlockSizeException(String)
- Constructs an IllegalBlockSizeException with the specified
detail message.
blockSize
public int blockSize
- The block size of the cipher.
dataSize
public int dataSize
- The size of the data passed to the cipher.
IllegalBlockSizeException
public IllegalBlockSizeException(String msg)
- Constructs an IllegalBlockSizeException with the specified
detail message. A detail message is a String that describes
this particular exception.
- Parameters:
- msg - - the detail message.
IllegalBlockSizeException
public IllegalBlockSizeException(int blockSize,
int dataSize)
- Constructs an IllegalBlockSizeException with the specified
block size and illegal data size values.
- Parameters:
- blockSize - - the block size of the cipher.
- dataSize - - the illegal size of the data passed to the cipher.
All Packages Class Hierarchy This Package Previous Next Index