Class TokenExpiredException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TokenExpiredException
    extends JWTVerificationException
    The exception that is thrown if the token is expired.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TokenExpiredException​(java.lang.String message, java.time.Instant expiredOn)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.Instant getExpiredOn()  
      • 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
    • Constructor Detail

      • TokenExpiredException

        public TokenExpiredException​(java.lang.String message,
                                     java.time.Instant expiredOn)
    • Method Detail

      • getExpiredOn

        public java.time.Instant getExpiredOn()