Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.crypto
Class BadPaddingException  view BadPaddingException download BadPaddingException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.security.GeneralSecurityException
              extended byjavax.crypto.BadPaddingException
All Implemented Interfaces:
java.io.Serializable

public class BadPaddingException
extends java.security.GeneralSecurityException

This exception is thrown during decryption when the decrypted input does not have the proper padding bytes that are expected by the padding mechanism.


Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private static long serialVersionUID
          Serialization constant.
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
BadPaddingException()
          Creates a new bad padding exception with no detail message.
BadPaddingException(java.lang.String message)
          Creates a new bad padding exception with a detail message.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serialization constant.

See Also:
Constant Field Values
Constructor Detail

BadPaddingException

public BadPaddingException()
Creates a new bad padding exception with no detail message.


BadPaddingException

public BadPaddingException(java.lang.String message)
Creates a new bad padding exception with a detail message.