Logo Search packages:      
Sourcecode: bouncycastle version File versions  Download package

BadPaddingException.java

package javax.crypto;

import java.security.GeneralSecurityException;

/**
 * This exception is thrown when a particular padding mechanism is
 * expected for the input data but the data is not padded properly
 *
 */
00010 public class BadPaddingException
    extends GeneralSecurityException
{
    /**
     * Constructs a BadPaddingException with no detail
     * message. A detail message is a String that describes this
     * particular exception.
     */
00018     public BadPaddingException()
    {
    }

    /**
     * Constructs a BadPaddingException with the specified
     * detail message. A detail message is a String that describes
     * this particular exception, which may, for example, specify which
     * algorithm is not available.
     *
     * @param msg the detail message.
     */
00030     public BadPaddingException(
        String msg)
    {
        super(msg);
    }
}

Generated by  Doxygen 1.6.0   Back to index