Class 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 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.