org.apache.lucene.queryParser.standard.parser
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.lucene.queryParser.core.QueryNodeException
org.apache.lucene.queryParser.core.QueryNodeParseException
org.apache.lucene.queryParser.standard.parser.ParseException
- All Implemented Interfaces:
- Serializable, NLSException
public class ParseException
- extends QueryNodeParseException
This exception is thrown when parse errors are encountered. You can
explicitly create objects of this exception type by calling the method
generateParseException in the generated parser.
You can modify this class to customize your error reporting mechanisms so
long as you retain the public fields.
- See Also:
- Serialized Form
ParseException
public ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal)
- This constructor is used by the method "generateParseException" in the
generated parser. Calling this constructor generates a new object of this
type with the fields "currentToken", "expectedTokenSequences", and
"tokenImage" set.
ParseException
public ParseException(Message message)
ParseException
public ParseException()
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.