Class RecognitionException

All Implemented Interfaces:
Serializable

public class RecognitionException extends RuntimeException

This class is not intended to be instantiated or subclassed by clients.

See Also:
  • Constructor Details

    • RecognitionException

      public RecognitionException(LexerException e)
    • RecognitionException

      public RecognitionException(int line, String message)
      Since:
      1.16
    • RecognitionException

      public RecognitionException(int line, String message, Throwable cause)
      Since:
      1.16
  • Method Details

    • getLine

      public int getLine()
      Line where the parsing error has occurred.
      Returns:
      line