public class InvalidKeyException extends KeyException
InvalidKeyException indicates exceptional conditions, caused by an
invalid key.| Constructor and Description |
|---|
InvalidKeyException()
Constructs a new instance of
InvalidKeyException. |
InvalidKeyException(String msg)
Constructs a new instance of
InvalidKeyException with the given
message. |
InvalidKeyException(String message,
Throwable cause)
Constructs a new instance of
InvalidKeyException with the given
message and the cause. |
InvalidKeyException(Throwable cause)
Constructs a new instance of
InvalidKeyException with the cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidKeyException(String msg)
InvalidKeyException with the given
message.msg - the detail message for this exception.public InvalidKeyException()
InvalidKeyException.public InvalidKeyException(String message, Throwable cause)
InvalidKeyException 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 InvalidKeyException(Throwable cause)
InvalidKeyException with the cause.cause - the exception which is the cause for this exception.