java.security

Class KeyException

public class KeyException extends GeneralSecurityException

This exception is thrown when there is a problem with a key.

See Also: Key

UNKNOWN: updated to 1.4

Constructor Summary
KeyException()
This method initializes a new instance of KeyException with no descriptive message.
KeyException(String msg)
This method initializes a new instance of KeyException with a descriptive message.
KeyException(String s, Throwable cause)
Create a new instance with a descriptive error message and a cause.
KeyException(Throwable cause)
Create a new instance with a cause.

Constructor Detail

KeyException

public KeyException()
This method initializes a new instance of KeyException with no descriptive message.

KeyException

public KeyException(String msg)
This method initializes a new instance of KeyException with a descriptive message.

Parameters: msg the descriptive message

KeyException

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

KeyException

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

Parameters: cause the cause

Since: 1.5