Save This Page
Home » openjdk-7 » javax » crypto » [javadoc | source]
javax.crypto
public class: IllegalBlockSizeException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         java.security.GeneralSecurityException
            javax.crypto.IllegalBlockSizeException

All Implemented Interfaces:
    Serializable

This exception is thrown when the length of data provided to a block cipher is incorrect, i.e., does not match the block size of the cipher.
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public IllegalBlockSizeException() 
 public IllegalBlockSizeException(String msg) 
    Constructs an IllegalBlockSizeException with the specified detail message.
    Parameters:
    msg - the detail message.
Methods from java.lang.Throwable:
addSuppressed,   fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   getStackTraceDepth,   getStackTraceElement,   getSuppressed,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait