Class QueryNodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.lucene.queryparser.flexible.core.QueryNodeException
- All Implemented Interfaces:
Serializable,NLSException
- Direct Known Subclasses:
QueryNodeParseException
This exception should be thrown if something wrong happens when dealing with
QueryNodes.
It also supports NLS messages.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQueryNodeException(Throwable throwable) QueryNodeException(Message message) QueryNodeException(Message message, Throwable throwable) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
message
-
-
Constructor Details
-
QueryNodeException
-
QueryNodeException
-
QueryNodeException
-
-
Method Details
-
getMessageObject
- Specified by:
getMessageObjectin interfaceNLSException- Returns:
- a instance of a class that implements the Message interface
-
getMessage
- Overrides:
getMessagein classThrowable
-
getLocalizedMessage
- Overrides:
getLocalizedMessagein classThrowable
-
getLocalizedMessage
-
toString
-