Package java.security
Class InvalidKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
java.security.KeyException
java.security.InvalidKeyException
- All Implemented Interfaces:
Serializable
public class InvalidKeyException extends KeyException
InvalidKeyException indicates exceptional conditions, caused by an
invalid key.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InvalidKeyException()Constructs a new instance ofInvalidKeyException.InvalidKeyException(String msg)Constructs a new instance ofInvalidKeyExceptionwith the given message.InvalidKeyException(String message, Throwable cause)Constructs a new instance ofInvalidKeyExceptionwith the given message and the cause.InvalidKeyException(Throwable cause)Constructs a new instance ofInvalidKeyExceptionwith the cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidKeyException
Constructs a new instance ofInvalidKeyExceptionwith the given message.- Parameters:
msg- the detail message for this exception.
-
InvalidKeyException
public InvalidKeyException()Constructs a new instance ofInvalidKeyException. -
InvalidKeyException
Constructs a new instance ofInvalidKeyExceptionwith the given message and the cause.- Parameters:
message- the detail message for this exception.cause- the exception which is the cause for this exception.
-
InvalidKeyException
Constructs a new instance ofInvalidKeyExceptionwith the cause.- Parameters:
cause- the exception which is the cause for this exception.
-