Class TokenEvaluationException

    • Constructor Summary

      Constructors 
      Constructor Description
      TokenEvaluationException​(java.lang.String msg, Token token)
      Instantiates a new token evaluation exception.
      TokenEvaluationException​(java.lang.String msg, Token token, java.lang.Throwable cause)
      Instantiates a new token evaluation exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Token getToken()
      Gets the token which is failed to evaluate expression.
      • 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

      • TokenEvaluationException

        public TokenEvaluationException​(java.lang.String msg,
                                        Token token)
        Instantiates a new token evaluation exception.
        Parameters:
        msg - the detail message
        token - the token
      • TokenEvaluationException

        public TokenEvaluationException​(java.lang.String msg,
                                        Token token,
                                        java.lang.Throwable cause)
        Instantiates a new token evaluation exception.
        Parameters:
        msg - the detail message
        token - the token
        cause - the root cause
    • Method Detail

      • getToken

        public Token getToken()
        Gets the token which is failed to evaluate expression.
        Returns:
        the token