|
IAIK PKCS#11 Wrapper version 1.2.17 |
||||||||||
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.lang.RuntimeException
iaik.pkcs.pkcs11.TokenRuntimeException
The base class for all runtiem exceptions in this package. It is able to wrap a other exception from a lower layer.
Field Summary | |
protected Exception |
encapsulatedException_
An encapsulated (inner) exception. |
Constructor Summary | |
TokenRuntimeException()
The default constructor. |
|
TokenRuntimeException(Exception encapsulatedException)
Constructor taking an other exception to wrap. |
|
TokenRuntimeException(String message)
Constructor taking an exception message. |
|
TokenRuntimeException(String message,
Exception encapsulatedException)
Constructor taking a message for this exception and an other exception to wrap. |
Method Summary | |
Exception |
getEncapsulatedException()
Get the encapsulated (wrapped) exceptin. |
String |
toString()
Returns the string representation of this exception, including the string representation of the wrapped (encapsulated) exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Exception encapsulatedException_
Constructor Detail |
public TokenRuntimeException()
public TokenRuntimeException(String message)
message
- The message giving details about the exception to ease
debugging.public TokenRuntimeException(Exception encapsulatedException)
encapsulatedException
- The other exception the wrap into this.public TokenRuntimeException(String message, Exception encapsulatedException)
message
- The message giving details about the exception to ease
debugging.encapsulatedException
- The other exception the wrap into this.Method Detail |
public Exception getEncapsulatedException()
public String toString()
|
IAIK PKCS#11 Wrapper version 1.2.17 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |