Package com.macasaet.fernet
Class TokenExpiredException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.macasaet.fernet.TokenValidationException
com.macasaet.fernet.TokenExpiredException
- All Implemented Interfaces:
java.io.Serializable
public class TokenExpiredException extends TokenValidationException
This is a special case of the
TokenValidationException that indicates that the Fernet token is invalid
because the application-defined time-to-live has elapsed. Applications can use this to communicate to the client that
a new Fernet must be generated, possibly by re-authenticating.
Copyright © 2017 Carlos Macasaet.
- Author:
- Carlos Macasaet
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description TokenExpiredException(java.lang.String message)TokenExpiredException(java.lang.String message, java.lang.Throwable cause)TokenExpiredException(java.lang.Throwable cause) -
Method Summary
-
Constructor Details
-
TokenExpiredException
public TokenExpiredException(java.lang.String message) -
TokenExpiredException
public TokenExpiredException(java.lang.Throwable cause) -
TokenExpiredException
public TokenExpiredException(java.lang.String message, java.lang.Throwable cause)
-