org.apache.lucene.queryParser.core
Class QueryNodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
QueryNode
s.
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:
getMessageObject
in interface NLSException
- Returns:
- a instance of a class that implements the Message interface
getMessage
public String getMessage()
- Overrides:
getMessage
in class Throwable
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessage
in class Throwable
getLocalizedMessage
public String getLocalizedMessage(Locale locale)
toString
public String toString()
- Overrides:
toString
in class Throwable