java.security

Class GeneralSecurityException

public class GeneralSecurityException extends Exception

This class is the common superclass of all security exceptions. All exceptions in java.security extend this class with the exception (no pun intended) of AccessControlException and CertificateException (which extend SecurityException), ProviderException (RuntimeException), and InvalidParamterException (IllegalArgumentException).

UNKNOWN: updated to 1.4

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

Constructor Detail

GeneralSecurityException

public GeneralSecurityException()
Create a new instance with no descriptive error message.

GeneralSecurityException

public GeneralSecurityException(String msg)
Create a new instance with a descriptive error message.

Parameters: msg the descriptive error message

GeneralSecurityException

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

GeneralSecurityException

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

Parameters: cause the cause

Since: 1.5