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
public class InvalidTokenException extends TokenHandlerException
An exception generated by aTokenHandler
on validation or extraction when the token is invalid.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidTokenException(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 Detail
-
InvalidTokenException
public InvalidTokenException(String message)
Constructs a new exception with the specified detail message.- Parameters:
message
- the message
-
InvalidTokenException
public InvalidTokenException(Throwable cause)
Constructs a new exception with the specified cause.- Parameters:
cause
- the cause
-
-