Class LexerException

All Implemented Interfaces:
Serializable

public class LexerException extends ParseException
Thrown during the lexical analysis when an illegal character is encountered.
Since:
0.7.0
See Also:
  • Field Details

    • expr

      private final String expr
      The string being analyzed starting from an illegal character.
  • Constructor Details

    • LexerException

      LexerException(String expr)
      Constructs a LexerException instance with a string starting from an illegal character.
      Parameters:
      expr - the string starting from an illegal character
  • Method Details

    • toString

      public String toString()
      Returns the string representation of this exception.
      Overrides:
      toString in class ParseException
      Returns:
      the string representation of this exception