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:
Serializable
public class TokenExpiredException extends TokenValidationException
This is a special case of theTokenValidationException
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(String message)
TokenExpiredException(String message, Throwable cause)
TokenExpiredException(Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-