public class PrematureJwtException extends ClaimJwtException
INCORRECT_EXPECTED_CLAIM_MESSAGE_TEMPLATE, MISSING_EXPECTED_CLAIM_MESSAGE_TEMPLATE| Constructor and Description |
|---|
PrematureJwtException(Header header,
Claims claims,
String message)
Creates a new instance with the specified explanation message.
|
PrematureJwtException(Header header,
Claims claims,
String message,
Throwable cause)
Deprecated.
since 0.12.0 since it is not used in JJWT's codebase
|
getClaims, getHeaderaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PrematureJwtException(Header header, Claims claims, String message)
header - jwt headerclaims - jwt claims (body)message - the message explaining why the exception is thrown.@Deprecated public PrematureJwtException(Header header, Claims claims, String message, Throwable cause)
header - jwt headerclaims - jwt claims (body)message - exception messagecause - causeCopyright © 2014–2023 jsonwebtoken.io. All rights reserved.