Class ParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ParseException
    extends java.lang.RuntimeException
    Thrown to indicate an error during parsing
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ParseException​(java.lang.String message, int line, int column)
      Default constructor for the ParseException
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getColumn()  
      int getLine()  
      java.lang.String getMessage()  
      void setSourceInfo​(java.lang.String sourceInfo)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ParseException

        public ParseException​(java.lang.String message,
                              int line,
                              int column)
        Default constructor for the ParseException
        Parameters:
        message - the message
        line - the line number
        column - the column number
    • Method Detail

      • getLine

        public int getLine()
      • getColumn

        public int getColumn()
      • setSourceInfo

        public void setSourceInfo​(java.lang.String sourceInfo)
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable