| java.lang.Object java.lang.Throwable java.lang.Exception org.openrdf.OpenRDFException org.openrdf.query.resultio.QueryResultParseException
QueryResultParseException | public class QueryResultParseException extends OpenRDFException (Code) | | A parse exception that can be thrown by a query result parser when it
encounters an error from which it cannot or doesn't want to recover.
author: Arjohn Kampman |
Method Summary | |
public int | getColumnNumber() Gets the column number associated with this parse exception. | public int | getLineNumber() Gets the line number associated with this parse exception. |
QueryResultParseException | public QueryResultParseException(String msg)(Code) | | Creates a new QueryResultParseException.
Parameters: msg - An error message. |
QueryResultParseException | public QueryResultParseException(String msg, int lineNo, int columnNo)(Code) | | Creates a new QueryResultParseException.
Parameters: msg - An error message. Parameters: lineNo - A line number associated with the message. Parameters: columnNo - A column number associated with the message. |
QueryResultParseException | public QueryResultParseException(Throwable t)(Code) | | Creates a new QueryResultParseException wrapping another exception. The
QueryResultParseException will inherit its message from the supplied
source exception.
Parameters: t - The source exception. |
QueryResultParseException | public QueryResultParseException(Throwable t, int lineNo, int columnNo)(Code) | | Creates a new QueryResultParseException wrapping another exception. The
QueryResultParseException will inherit its message from the supplied
source exception.
Parameters: t - The source exception. Parameters: lineNo - A line number associated with the message. Parameters: columnNo - A column number associated with the message. |
getColumnNumber | public int getColumnNumber()(Code) | | Gets the column number associated with this parse exception.
A column number, or -1 if no column number is availableor applicable. |
getLineNumber | public int getLineNumber()(Code) | | Gets the line number associated with this parse exception.
A line number, or -1 if no line number is available orapplicable. |
|
|