Package javax.crypto
Class IllegalBlockSizeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.security.GeneralSecurityException
-
- javax.crypto.IllegalBlockSizeException
-
- All Implemented Interfaces:
Serializable
public class IllegalBlockSizeException extends GeneralSecurityException
The exception, that is thrown when the data length provided to a block cipher does not match the block size of the cipher.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalBlockSizeException()Creates a newIllegalBlockSizeException.IllegalBlockSizeException(String msg)Creates a newIllegalBlockSizeExceptionwith the specified message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
IllegalBlockSizeException
public IllegalBlockSizeException(String msg)
Creates a newIllegalBlockSizeExceptionwith the specified message.- Parameters:
msg- the message
-
IllegalBlockSizeException
public IllegalBlockSizeException()
Creates a newIllegalBlockSizeException.
-
-