Class ParseException

All Implemented Interfaces:
Serializable

public class ParseException extends RuntimeException
Thrown to indicate an error during parsing
See Also:
  • Field Details

    • line

      private int line
      The line where the ParserException occurred
    • column

      private int column
      The column where the ParserException occurred
    • sourceInfo

      private String sourceInfo
      The sourceInfo of where the exception occurred
  • Constructor Details

    • ParseException

      public ParseException(String message, int line, int column)
      Default constructor for the ParseException
      Parameters:
      message - the message
      line - the line number
      column - the column number
  • Method Details

    • getLine

      public int getLine()
    • getColumn

      public int getColumn()
    • setSourceInfo

      public void setSourceInfo(String sourceInfo)
    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable