Class InvalidQueryResults

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidQueryResults
    extends java.lang.RuntimeException

    Exception denoting parsing of serialized query results failed due to syntax errors

    Since:
    1.0
    Version:
    1.0
    Author:
    Michael Grove
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static long UNKNOWN_POSITION  
    • Constructor Summary

      Constructors 
      Constructor Description
      InvalidQueryResults​(java.lang.String theMessage)  
      InvalidQueryResults​(java.lang.String theMessage, long theLineNumber, long theColumnNumber)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long columnNumber()
      Return the column where the parse error occurred
      long lineNumber()
      Return the line where the parse error 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

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

      • InvalidQueryResults

        public InvalidQueryResults​(java.lang.String theMessage)
      • InvalidQueryResults

        public InvalidQueryResults​(java.lang.String theMessage,
                                   long theLineNumber,
                                   long theColumnNumber)
    • Method Detail

      • lineNumber

        public long lineNumber()
        Return the line where the parse error occurred
        Returns:
        the line number or UNKNOWN_POSITION if not specified
      • columnNumber

        public long columnNumber()
        Return the column where the parse error occurred
        Returns:
        the column number or UNKNOWN_POSITION if not specified