Class UnknownFunctionOrVariableException

  • All Implemented Interfaces:

    public class UnknownFunctionOrVariableException
    extends java.lang.IllegalArgumentException
    This exception is being thrown whenever Tokenizer finds unknown function or variable.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getExpression()  
      java.lang.String getMessage()  
      int getPosition()  
      java.lang.String getToken()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    • Constructor Detail

      • UnknownFunctionOrVariableException

        public UnknownFunctionOrVariableException​(java.lang.String exp,
                                                  int position,
                                                  int length)
        exp - expression that throwed the exception
        position - location of the error
        length - length of the token
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        getMessage in class java.lang.Throwable
      • getExpression

        public java.lang.String getExpression()
        Expression which contains unknown function or variable
      • getToken

        public java.lang.String getToken()
        The name of unknown function or variable
      • getPosition

        public int getPosition()
        The position of unknown function or variable