Class ExpiredJWTException

All Implemented Interfaces:
Serializable

public class ExpiredJWTException extends InvalidJWTException

Thrown by a JWTClaimsSet during validation to indicate that a JWT claim set has expired.

Since:
1.5
Author:
Jeremy Kuhn
See Also:
  • Constructor Details

    • ExpiredJWTException

      public ExpiredJWTException()

      Creates an expired JWT exception.

    • ExpiredJWTException

      public ExpiredJWTException(String message)

      Creates an expired JWT exception with the specified message.

      Parameters:
      message - the message
    • ExpiredJWTException

      public ExpiredJWTException(Throwable cause)

      Creates an expired JWT exception with the specified cause.

      Parameters:
      cause - the cause
    • ExpiredJWTException

      public ExpiredJWTException(String message, Throwable cause)

      Creates an expired JWT exception with the specified message and cause.

      Parameters:
      message - the message
      cause - the cause
    • ExpiredJWTException

      public ExpiredJWTException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)

      Creates an expired JWT exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.

      Parameters:
      message - the message
      cause - the cause
      enableSuppression - true to enable suppression, false otherwise
      writableStackTrace - true to make the stack trace writable, false otherwise