java.security.spec

Class InvalidKeySpecException

public class InvalidKeySpecException extends GeneralSecurityException

Exception for an invalid key specification.

Since: 1.2

See Also: KeySpec

UNKNOWN: updated to 1.5

Constructor Summary
InvalidKeySpecException()
Constructs an InvalidKeySpecException without a message string.
InvalidKeySpecException(String msg)
Constructs an InvalidKeySpecException with a message string.
InvalidKeySpecException(String s, Throwable cause)
Create a new instance with a descriptive error message and a cause.
InvalidKeySpecException(Throwable cause)
Create a new instance with a cause.

Constructor Detail

InvalidKeySpecException

public InvalidKeySpecException()
Constructs an InvalidKeySpecException without a message string.

InvalidKeySpecException

public InvalidKeySpecException(String msg)
Constructs an InvalidKeySpecException with a message string.

Parameters: msg a message to display with exception

InvalidKeySpecException

public InvalidKeySpecException(String s, Throwable cause)
Create a new instance with a descriptive error message and a cause.

Parameters: s the descriptive error message cause the cause

Since: 1.5

InvalidKeySpecException

public InvalidKeySpecException(Throwable cause)
Create a new instance with a cause.

Parameters: cause the cause

Since: 1.5