Package org.apache.jena.query
Class QueryParseException
- 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:
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
-
-
Constructor Summary
Constructors Constructor Description QueryParseException(int line, int column)
QueryParseException(java.lang.String msg, int line, int column)
QueryParseException(java.lang.String msg, java.lang.Throwable cause, int line, int column)
QueryParseException(java.lang.Throwable cause, int line, int column)
-
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.
-
-
-
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)
-
-