public class ExpiredJwtException extends ClaimJwtException
INCORRECT_EXPECTED_CLAIM_MESSAGE_TEMPLATE, MISSING_EXPECTED_CLAIM_MESSAGE_TEMPLATE
Constructor and Description |
---|
ExpiredJwtException(Header header,
Claims claims,
String message)
Creates a new instance with the specified header, claims, and explanation message.
|
ExpiredJwtException(Header header,
Claims claims,
String message,
Throwable cause)
Creates a new instance with the specified header, claims, explanation message and underlying cause.
|
getClaims, getHeader
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ExpiredJwtException(Header header, Claims claims, String message)
header
- jwt headerclaims
- jwt claims (body)message
- the message explaining why the exception is thrown.public ExpiredJwtException(Header header, Claims claims, String message, Throwable cause)
message
- the message explaining why the exception is thrown.cause
- the underlying cause that resulted in this exception being thrown.header
- jwt headerclaims
- jwt claims (body)Copyright © 2014–2025 jsonwebtoken.io. All rights reserved.