javax.crypto

Class NoSuchPaddingException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended byjava.security.GeneralSecurityException
  5. extended byjavax.crypto.NoSuchPaddingException
All implemented interfaces:
java.io.Serializable

  1. public class NoSuchPaddingException
  2. extends java.security.GeneralSecurityException
This exception is thrown when a particular padding mechanism is requested but is not available in the environment.
Since:
1.4
Version:
1.11, 03/15/04
Author:
Jan Luehe
See Also:
Serialized Form

Constructor Summary

Constructor and Description
NoSuchPaddingException()
Constructs a NoSuchPaddingException with no detail message.
NoSuchPaddingException(java.lang.String msg)
Constructs a NoSuchPaddingException with the specified detail 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

NoSuchPaddingException

  1. public NoSuchPaddingException()
Constructs a NoSuchPaddingException with no detail message. A detail message is a String that describes this particular exception.

NoSuchPaddingException

  1. public NoSuchPaddingException(java.lang.String msg)
Constructs a NoSuchPaddingException with the specified detail message.
Parameters:
msg - the detail message.