org.apache.lucene.queryParser.core
Class QueryNodeException
java.lang.Object
   java.lang.Throwable
java.lang.Throwable
       java.lang.Exception
java.lang.Exception
           org.apache.lucene.queryParser.core.QueryNodeException
org.apache.lucene.queryParser.core.QueryNodeException
- All Implemented Interfaces: 
- Serializable, NLSException
- Direct Known Subclasses: 
- QueryNodeParseException
- public class QueryNodeException 
- extends Exception- implements NLSException
 This exception should be thrown if something wrong happens when dealing with
 QueryNodes.
 
 
 It also supports NLS messages.
 
- See Also:
- Message,- NLS,- NLSException,- QueryNode, 
Serialized Form
 
 
 
 
 
message
protected Message message
QueryNodeException
public QueryNodeException(Message message)
QueryNodeException
public QueryNodeException(Throwable throwable)
QueryNodeException
public QueryNodeException(Message message,
                          Throwable throwable)
getMessageObject
public Message getMessageObject()
- 
- Specified by:
- getMessageObjectin interface- NLSException
 
- 
- Returns:
- a instance of a class that implements the Message interface
 
getMessage
public String getMessage()
- 
- Overrides:
- getMessagein class- Throwable
 
- 
 
getLocalizedMessage
public String getLocalizedMessage()
- 
- Overrides:
- getLocalizedMessagein class- Throwable
 
- 
 
getLocalizedMessage
public String getLocalizedMessage(Locale locale)
- 
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Throwable
 
-