Class ParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ParseException
    extends java.lang.Exception

    General exception for parsing errors, thrown primarily by event handlers.

    Since:
    2.0.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Integer col  
      private java.lang.Integer line  
      private static long serialVersionUID  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getCol()  
      java.lang.Integer getLine()  
      private static java.lang.String message​(java.lang.String message, java.lang.Throwable throwable)  
      private static java.lang.String messagePrefix​(int line, int col)  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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
    • Field Detail

      • line

        private final java.lang.Integer line
      • col

        private final java.lang.Integer col
    • Constructor Detail

      • ParseException

        public ParseException()
      • ParseException

        public ParseException​(java.lang.String message,
                              java.lang.Throwable throwable)
      • ParseException

        public ParseException​(java.lang.String message)
      • ParseException

        public ParseException​(java.lang.Throwable throwable)
      • ParseException

        public ParseException​(int line,
                              int col)
      • ParseException

        public ParseException​(java.lang.String message,
                              java.lang.Throwable throwable,
                              int line,
                              int col)
      • ParseException

        public ParseException​(java.lang.String message,
                              int line,
                              int col)
      • ParseException

        public ParseException​(java.lang.Throwable throwable,
                              int line,
                              int col)
    • Method Detail

      • messagePrefix

        private static java.lang.String messagePrefix​(int line,
                                                      int col)
      • message

        private static java.lang.String message​(java.lang.String message,
                                                java.lang.Throwable throwable)
      • getLine

        public java.lang.Integer getLine()
      • getCol

        public java.lang.Integer getCol()