Class UnexpectedTokenException

All Implemented Interfaces:
Serializable

public class UnexpectedTokenException extends ParseException
Thrown when a token of unexpected types is encountered during the parsing.
Since:
0.7.0
Author:
Zafar Khaja invalid input: '<'zafarkhaja@gmail.com>
See Also:
  • Method Details

    • toString

      public String toString()
      Returns the string representation of this exception containing the information about the unexpected token and, if available, about the expected types.
      Overrides:
      toString in class ParseException
      Returns:
      the string representation of this exception