Class InvalidJwtException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.forgerock.json.jose.exceptions.JwtRuntimeException
org.forgerock.json.jose.exceptions.JwtBuilderException
org.forgerock.json.jose.exceptions.JwtReconstructionException
org.forgerock.json.jose.exceptions.InvalidJwtException
- All Implemented Interfaces:
Serializable
Represents an exception that occurs when a JWT is determined as invalid.
Possible causes, but not definitive, are incorrect number of "." characters, unparsable JSON, duplicate entries in header or claims set.
- Since:
- 2.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidJwtException
(String message) Constructs a new JwtReconstructionException with the provided exception message.InvalidJwtException
(String message, Throwable throwable) Constructs a new JwtReconstructionException with the provided exception message and underlying throwable.InvalidJwtException
(Throwable throwable) Constructs a new JwtReconstructionException with the provided underlying throwable. -
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
Constructs a new JwtReconstructionException with the provided exception message.- Parameters:
message
- The exception message.
-
InvalidJwtException
Constructs a new JwtReconstructionException with the provided exception message and underlying throwable.- Parameters:
message
- The exception message.throwable
- The underlying throwable.
-
InvalidJwtException
Constructs a new JwtReconstructionException with the provided underlying throwable.- Parameters:
throwable
- The underlying throwable.
-