xjava.security

Class GeneralSecurityException

Known Direct Subclasses:
InvalidKeyFormatException, InvalidParameterTypeException, NoSuchParameterException

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 $

Author:
David Hopwood

Since:
IJCE 1.0.1

Constructor Summary

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

Constructor Details

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.