java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.jena.shared.JenaException
org.apache.jena.sparql.ARQException
org.apache.jena.query.QueryException
org.apache.jena.query.QueryParseException
- All Implemented Interfaces:
Serializable
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:
-
Constructor Summary
ConstructorDescriptionQueryParseException
(int line, int column) QueryParseException
(String msg, int line, int column) QueryParseException
(String msg, Throwable cause, int line, int column) QueryParseException
(Throwable cause, int line, int column) -
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatMessage
(String msg, int line, int column) int
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
-
Constructor Details
-
QueryParseException
public QueryParseException(int line, int column) -
QueryParseException
-
QueryParseException
-
QueryParseException
-
-
Method Details
-
getColumn
public int getColumn()Column number where the parse exception occurred. -
getLine
public int getLine()Line number where the parse exception occurred. -
formatMessage
-