|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
public class GeneralSecurityException
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
).
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. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GeneralSecurityException()
public GeneralSecurityException(String msg)
msg
- the descriptive error messagepublic GeneralSecurityException(String s, Throwable cause)
s
- the descriptive error messagecause
- the causepublic GeneralSecurityException(Throwable cause)
cause
- the cause
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |