Package com.stardog.stark.query.io
Class InvalidQueryResults
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.stardog.stark.query.io.InvalidQueryResults
- All Implemented Interfaces:
Serializable
Exception denoting parsing of serialized query results failed due to syntax errors
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Michael Grove
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvalidQueryResults(String theMessage) InvalidQueryResults(String theMessage, long theLineNumber, long theColumnNumber) -
Method Summary
Modifier and TypeMethodDescriptionlongReturn the column where the parse error occurredlongReturn the line where the parse error occurredMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
UNKNOWN_POSITION
public static final long UNKNOWN_POSITION- See Also:
-
-
Constructor Details
-
InvalidQueryResults
-
InvalidQueryResults
-
-
Method Details
-
lineNumber
public long lineNumber()Return the line where the parse error occurred- Returns:
- the line number or
UNKNOWN_POSITIONif not specified
-
columnNumber
public long columnNumber()Return the column where the parse error occurred- Returns:
- the column number or
UNKNOWN_POSITIONif not specified
-