javax.crypto
Class IllegalBlockSizeException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.security.GeneralSecurityException
|
+--javax.crypto.IllegalBlockSizeException
- public class IllegalBlockSizeException
- extends GeneralSecurityException
Exception for any kind of block size violation.
Attention: This is not a SUN implementation!
This class has been developed by IAIK according to the documentation publically available.
For SUNīs documentation of this class see
http://java.sun.com/security/JCE1.2/spec/apidoc/index.html
An IllegalBlockSizeException is thrown if the data to be processed
by a block cipher is of a length that cannot be handled by that cipher.
If, for instance, the length of an input data block to be processed by a DES cipher not equals 64 bit, an
IllegalBlockSizeException will occur.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace,
toString |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
IllegalBlockSizeException
public IllegalBlockSizeException()
- Default Constructor.
Creates a IllegalBlockSizeException without any parameters for describing the exception.
IllegalBlockSizeException
public IllegalBlockSizeException(java.lang.String msg)
- Creates a IllegalBlockSizeException with a description string message as parameter.
- Parameters:
msg - the string describing the exception