java.security

Class InvalidKeyException

public class InvalidKeyException extends KeyException

Thrown for an invalid key.

UNKNOWN: updated to 1.4

Constructor Summary
InvalidKeyException()
Construct an exception with no message.
InvalidKeyException(String msg)
Construct an exception with a message.
InvalidKeyException(String s, Throwable cause)
Create a new instance with a descriptive error message and a cause.
InvalidKeyException(Throwable cause)
Create a new instance with a cause.

Constructor Detail

InvalidKeyException

public InvalidKeyException()
Construct an exception with no message.

InvalidKeyException

public InvalidKeyException(String msg)
Construct an exception with a message.

Parameters: msg the message

InvalidKeyException

public InvalidKeyException(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

InvalidKeyException

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

Parameters: cause the cause

Since: 1.5