Class InvalidTokenException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ExpiredTokenException

public class InvalidTokenException extends TokenHandlerException
An exception generated by a TokenHandler on validation or extraction when the token is invalid.
See Also:
  • Constructor Details

    • InvalidTokenException

      public InvalidTokenException(String message)
      Constructs a new exception with the specified detail message.
      Parameters:
      message - the message
    • InvalidTokenException

      public InvalidTokenException(Throwable cause)
      Constructs a new exception with the specified cause.
      Parameters:
      cause - the cause
    • InvalidTokenException

      public InvalidTokenException(String message, Throwable cause)
      Constructs a new exception with the specified detail message and cause.
      Parameters:
      message - the message
      cause - the cause