javax.crypto
Class IllegalBlockSizeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by javax.crypto.IllegalBlockSizeException
All Implemented Interfaces:
Serializable

public class IllegalBlockSizeException
extends GeneralSecurityException

This exception is thrown when finishing encryption without padding or decryption and the input is not a multiple of the cipher's block size.

See Also:
Serialized Form

Constructor Summary
IllegalBlockSizeException()
           
IllegalBlockSizeException(String message)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalBlockSizeException

public IllegalBlockSizeException()

IllegalBlockSizeException

public IllegalBlockSizeException(String message)