Package org.forgerock.tokenhandler
Class InvalidTokenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.forgerock.tokenhandler.TokenHandlerException
org.forgerock.tokenhandler.InvalidTokenException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ExpiredTokenException
An exception generated by a
TokenHandler
on validation or extraction when the token is invalid.- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidTokenException
(String message) Constructs a new exception with the specified detail message.InvalidTokenException
(String message, Throwable cause) Constructs a new exception with the specified detail message and cause.InvalidTokenException
(Throwable cause) Constructs a new 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
-
InvalidTokenException
Constructs a new exception with the specified detail message.- Parameters:
message
- the message
-
InvalidTokenException
Constructs a new exception with the specified cause.- Parameters:
cause
- the cause
-
InvalidTokenException
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- the messagecause
- the cause
-