Package org.xipki.pkcs11.wrapper
Class TokenException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xipki.pkcs11.wrapper.TokenException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PKCS11Exception
public class TokenException extends Exception
The base class for all exceptions in this package. It is able to wrap another exception from a lower layer.- Author:
- Karl Scheibelhofer (SIC), Lijun Liao (xipki)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TokenException(Exception encapsulatedException)Constructor taking another exception to wrap.TokenException(String message)Constructor taking an exception message.TokenException(String message, Exception encapsulatedException)Constructor taking a message for this exception and another exception to wrap.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TokenException
public TokenException(String message)
Constructor taking an exception message.- Parameters:
message- The message giving details about the exception to ease debugging.
-
TokenException
public TokenException(Exception encapsulatedException)
Constructor taking another exception to wrap.- Parameters:
encapsulatedException- The other exception the wrap into this.
-
TokenException
public TokenException(String message, Exception encapsulatedException)
Constructor taking a message for this exception and another exception to wrap.- Parameters:
message- The message giving details about the exception to ease debugging.encapsulatedException- The other exception the wrap into this.
-
-