Package javax.crypto
Class NoSuchPaddingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.security.GeneralSecurityException
-
- javax.crypto.NoSuchPaddingException
-
- All Implemented Interfaces:
Serializable
public class NoSuchPaddingException extends GeneralSecurityException
The exception that is thrown when the requested padding mechanism is not supported.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NoSuchPaddingException()Creates a newNoSuchPaddingException.NoSuchPaddingException(String msg)Creates a newNoSuchPaddingExceptionwith the specified message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NoSuchPaddingException
public NoSuchPaddingException(String msg)
Creates a newNoSuchPaddingExceptionwith the specified message.- Parameters:
msg- the message.
-
NoSuchPaddingException
public NoSuchPaddingException()
Creates a newNoSuchPaddingException.
-
-