Class TokenException

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    TokenValidationException

    public class TokenException
    extends Exception
    The exception for all normal errors occuring with the Token API and for which the client requires to perform a dedicated action.
    Author:
    Yohann Chastagnier
    See Also:
    Serialized Form
    • Constructor Detail

      • TokenException

        public TokenException()
        Creates a new instance of TokenException without detail message.
      • TokenException

        public TokenException​(String msg)
        Constructs an instance of TokenException with the specified detail message.
        Parameters:
        msg - the detail message.
      • TokenException

        public TokenException​(String message,
                              Throwable cause)
        Constructs an instance of TokenException with the specified detail message and with the specified cause.
        Parameters:
        message - the detail message.
        cause - the cause of this exception.