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

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait