Class QueryParseException

  • All Implemented Interfaces:
    java.io.Serializable

    public class QueryParseException
    extends QueryException
    QueryParseException is root exception for all (intentional) exceptions from the various parsers where the error is to do with the syntax of a query.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String formatMessage​(java.lang.String msg, int line, int column)  
      int getColumn()
      Column number where the parse exception occurred.
      int getLine()
      Line number where the parse exception occurred.
      • 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

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

      • QueryParseException

        public QueryParseException​(int line,
                                   int column)
      • QueryParseException

        public QueryParseException​(java.lang.Throwable cause,
                                   int line,
                                   int column)
      • QueryParseException

        public QueryParseException​(java.lang.String msg,
                                   int line,
                                   int column)
      • QueryParseException

        public QueryParseException​(java.lang.String msg,
                                   java.lang.Throwable cause,
                                   int line,
                                   int column)
    • Method Detail

      • getColumn

        public int getColumn()
        Column number where the parse exception occurred.
      • getLine

        public int getLine()
        Line number where the parse exception occurred.
      • formatMessage

        public static java.lang.String formatMessage​(java.lang.String msg,
                                                     int line,
                                                     int column)