com.hp.hpl.jena.query
Class QueryParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.hp.hpl.jena.shared.JenaException
                  extended by com.hp.hpl.jena.sparql.ARQException
                      extended by com.hp.hpl.jena.query.QueryException
                          extended by 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

Constructor Summary
QueryParseException(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
static String formatMessage(String msg, int line, int column)
           
 int getColumn()
          Column number where the parse exception occurred.
 int getLine()
          Line number where the parse exception occurred.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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