com.hp.hpl.jena.query
Class QueryParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.hp.hpl.jena.shared.JenaException
com.hp.hpl.jena.sparql.ARQException
com.hp.hpl.jena.query.QueryException
com.hp.hpl.jena.query.QueryParseException
- All Implemented Interfaces:
- 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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
QueryParseException
public QueryParseException(int line,
int column)
QueryParseException
public QueryParseException(Throwable cause,
int line,
int column)
QueryParseException
public QueryParseException(String msg,
int line,
int column)
QueryParseException
public QueryParseException(String msg,
Throwable cause,
int line,
int column)
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 String formatMessage(String msg,
int line,
int column)
Licenced under the Apache License, Version 2.0