Class InvalidTokenException

All Implemented Interfaces:
Serializable

public class InvalidTokenException extends IllegalArgumentException
This exception is thrown to indicate that a token is invalid.
Author:
Trym Hamer Gudvangen
See Also:
  • Constructor Details

    • InvalidTokenException

      public InvalidTokenException()
      This method constructs an InvalidTokenException with no detail message.
    • InvalidTokenException

      public InvalidTokenException(String token)
      This method constructs an InvalidTokenException with the specified token as the detail message.
      Parameters:
      token - The token that caused the exception.
    • InvalidTokenException

      public InvalidTokenException(String message, Throwable cause)
      This method constructs an InvalidTokenException with the specified detail message and cause.
      Parameters:
      message - The detail message.
      cause - The cause of the exception.
    • InvalidTokenException

      public InvalidTokenException(Throwable cause)
      This method constructs an InvalidTokenException with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
      Parameters:
      cause - The cause of the exception.