|
|||||||||
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
java.security.KeyException
public class KeyException
This exception is thrown when there is a problem with a key.
Key
,
Serialized FormConstructor 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. |
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 KeyException()
KeyException
with no descriptive message.
public KeyException(String msg)
KeyException
with a descriptive message.
msg
- the descriptive messagepublic KeyException(String s, Throwable cause)
s
- the descriptive error messagecause
- the causepublic KeyException(Throwable cause)
cause
- the cause
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |