Package java.security.spec
Class InvalidKeySpecException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
java.security.spec.InvalidKeySpecException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExtendedInvalidKeySpecException
public class InvalidKeySpecException extends GeneralSecurityException
The exception that is thrown when an invalid key specification is
encountered.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InvalidKeySpecException()Creates a newInvalidKeySpecException.InvalidKeySpecException(String msg)Creates a newInvalidKeySpecExceptionwith the specified message.InvalidKeySpecException(String message, Throwable cause)Creates a newInvalidKeySpecExceptionwith the specified message and cause.InvalidKeySpecException(Throwable cause)Creates a newInvalidKeySpecExceptionwith the specified 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
-
InvalidKeySpecException
Creates a newInvalidKeySpecExceptionwith the specified message.- Parameters:
msg- the detail message of this exception.
-
InvalidKeySpecException
public InvalidKeySpecException()Creates a newInvalidKeySpecException. -
InvalidKeySpecException
Creates a newInvalidKeySpecExceptionwith the specified message and cause.- Parameters:
message- the detail message of this exception.cause- the cause of this exception.
-
InvalidKeySpecException
Creates a newInvalidKeySpecExceptionwith the specified cause.- Parameters:
cause- the cause of this exception.
-