Class InvalidTokenException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidTokenException
    extends java.lang.RuntimeException
    The Class InvalidTokenException.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Token getToken()  
      • 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

      • InvalidTokenException

        public InvalidTokenException​(Token token)
        Instantiates a new invalid token exception.
        Parameters:
        token - the token
      • InvalidTokenException

        public InvalidTokenException​(java.lang.String msg,
                                     Token token)
        Instantiates a new invalid token exception.
        Parameters:
        msg - the detail message
        token - the token
    • Method Detail

      • getToken

        public Token getToken()