public class KeyException extends GeneralSecurityException
KeyException is the common superclass of all key related exceptions.| Constructor and Description |
|---|
KeyException()
Constructs a new instance of
KeyException. |
KeyException(String msg)
Constructs a new instance of
KeyException with the given message. |
KeyException(String message,
Throwable cause)
Constructs a new instance of
KeyException with the given message
and the cause. |
KeyException(Throwable cause)
Constructs a new instance of
KeyException with the cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic KeyException(String msg)
KeyException with the given message.msg - the detail message for this exception.public KeyException()
KeyException.public KeyException(String message, Throwable cause)
KeyException with the given message
and the cause.message - the detail message for this exception.cause - the exception which is the cause for this exception.public KeyException(Throwable cause)
KeyException with the cause.cause - the exception which is the cause for this exception.