Save This Page
Home » lucene-3.0.1-src » org.apache.lucene.queryParser.core » [javadoc | source]
org.apache.lucene.queryParser.core
public class: QueryNodeParseException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         org.apache.lucene.queryParser.core.QueryNodeException
            org.apache.lucene.queryParser.core.QueryNodeParseException

All Implemented Interfaces:
    NLSException, Serializable

Direct Known Subclasses:
    ParseException

This should be thrown when an exception happens during the query parsing from string to the query node tree.
Fields inherited from org.apache.lucene.queryParser.core.QueryNodeException:
message
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public QueryNodeParseException(Message message) 
 public QueryNodeParseException(Throwable throwable) 
 public QueryNodeParseException(Message message,
    Throwable throwable) 
Method from org.apache.lucene.queryParser.core.QueryNodeParseException Summary:
getBeginColumn,   getBeginLine,   getErrorToken,   getQuery,   setBeginColumn,   setBeginLine,   setErrorToken,   setNonLocalizedMessage,   setQuery
Methods from org.apache.lucene.queryParser.core.QueryNodeException:
getLocalizedMessage,   getLocalizedMessage,   getMessage,   getMessageObject,   toString
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.queryParser.core.QueryNodeParseException Detail:
 public int getBeginColumn() 
    For EndOfLine and EndOfFile ("") parsing problems the last char in the string is returned For the case where the parser is not able to figure out the line and column number -1 will be returned
 public int getBeginLine() 
    For EndOfLine and EndOfFile ("") parsing problems the last char in the string is returned For the case where the parser is not able to figure out the line and column number -1 will be returned
 public String getErrorToken() 
 public CharSequence getQuery() 
 protected  void setBeginColumn(int beginColumn) 
 protected  void setBeginLine(int beginLine) 
 protected  void setErrorToken(String errorToken) 
 public  void setNonLocalizedMessage(Message message) 
 public  void setQuery(CharSequence query)