com.google.appengine.api.search.query
Class QueryTreeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.google.appengine.api.search.query.QueryTreeException
All Implemented Interfaces:
java.io.Serializable

public class QueryTreeException
extends java.lang.RuntimeException

A parsing exception thrown when the tree resulting from parsing a query is in some sense invalid.

See Also:
Serialized Form

Constructor Summary
QueryTreeException(java.lang.String message, int position)
           
 
Method Summary
 int getPosition()
           
 
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

QueryTreeException

public QueryTreeException(java.lang.String message,
                          int position)
Method Detail

getPosition

public int getPosition()
Returns:
the position at which the error was detected