Class ParseException

All Implemented Interfaces:
Serializable

public class ParseException extends Exception
The Class ParseException.
See Also:
  • Constructor Details

    • ParseException

      public ParseException(ParseState state, int symbolCharacter, EncounteredSymbol symbol)
      Instantiates a new parses the exception.
      Parameters:
      state - the state
      symbolCharacter - the symbol character
      symbol - the symbol
  • Method Details

    • getState

      public ParseState getState()
      Gets the state.
      Returns:
      the state
    • getSymbol

      public EncounteredSymbol getSymbol()
      Gets the symbol.
      Returns:
      the symbol
    • getSymbolCharacter

      public int getSymbolCharacter()
      Gets the symbol character.
      Returns:
      the symbol character
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable