xjava.security

Class GeneralSecurityException

public class GeneralSecurityException extends Exception

This is the general security exception class, which serves to group all the exception classes of the java.security package that extend from it.

Exceptions (no pun intended) are AccessControlException and CertificateException, which subclass from java.lang.SecurityException, and ProviderException and InvalidParameterException, which subclass from java.lang.RuntimeException.

This class is documented in JavaSoft's preview APIs, for introduction in Java 1.2.

$Revision: 1.2 $

Since: IJCE 1.0.1

Author: David Hopwood

Constructor Summary
GeneralSecurityException()
Constructs a GeneralSecurityException without any detail message.
GeneralSecurityException(String msg)
Constructs a GeneralSecurityException with the specified detail message.

Constructor Detail

GeneralSecurityException

public GeneralSecurityException()
Constructs a GeneralSecurityException without any detail message.

GeneralSecurityException

public GeneralSecurityException(String msg)
Constructs a GeneralSecurityException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters: msg the detail message.