Class TokenExpiredException

  • All Implemented Interfaces:
    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 Detail

      • TokenExpiredException

        public TokenExpiredException​(String message)
      • TokenExpiredException

        public TokenExpiredException​(Throwable cause)
      • TokenExpiredException

        public TokenExpiredException​(String message,
                                     Throwable cause)