Module io.inverno.mod.security.jose
Package io.inverno.mod.security.jose.jwt
Class InvalidJWTException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.inverno.mod.security.jose.JOSEProcessingException
io.inverno.mod.security.jose.jwt.InvalidJWTException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExpiredJWTException
,InactiveJWTException
Thrown by a JWTClaimsSet
during validation to indicate that a JWT claim set is invalid.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates an invalid JWT exception.InvalidJWTException
(String message) Creates an invalid JWT exception with the specified message.InvalidJWTException
(String message, Throwable cause) Creates an invalid JWT exception with the specified message and cause.InvalidJWTException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates an invalid JWT exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.InvalidJWTException
(Throwable cause) Creates an invalid JWT exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidJWTException
public InvalidJWTException()Creates an invalid JWT exception.
-
InvalidJWTException
Creates an invalid JWT exception with the specified message.
- Parameters:
message
- the message
-
InvalidJWTException
Creates an invalid JWT exception with the specified cause.
- Parameters:
cause
- the cause
-
InvalidJWTException
Creates an invalid JWT exception with the specified message and cause.
- Parameters:
message
- the messagecause
- the cause
-
InvalidJWTException
public InvalidJWTException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates an invalid JWT exception with the specified message, cause, suppression enabled or disabled and writable stack trace enabled or disabled.
- Parameters:
message
- the messagecause
- the causeenableSuppression
- true to enable suppression, false otherwisewritableStackTrace
- true to make the stack trace writable, false otherwise
-