Class TokenValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.macasaet.fernet.TokenValidationException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PayloadValidationException, TokenExpiredException

public class TokenValidationException
extends java.lang.RuntimeException
This exception indicates that an operation (e.g. payload decryption) was attempted on an invalid Fernet token.

Copyright © 2017 Carlos Macasaet.

Author:
Carlos Macasaet
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    TokenValidationException​(java.lang.String message)  
    TokenValidationException​(java.lang.String message, java.lang.Throwable cause)  
    TokenValidationException​(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