Class QueryNodeException
This exception should be thrown if something wrong happens when dealing with IQueryNodes.
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Core
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Serializable]
public class QueryNodeException : Exception, ISerializable
Constructors
| Improve this Doc View SourceQueryNodeException(Exception)
Initializes a new instance of QueryNodeException with a specified inner exception that is the cause of this exception.
Declaration
public QueryNodeException(Exception cause)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | cause | An exception instance to wrap |
QueryNodeException(SerializationInfo, StreamingContext)
Initializes a new instance of this class with serialized data.
Declaration
protected QueryNodeException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown. |
System.Runtime.Serialization.StreamingContext | context | The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination. |
QueryNodeException(String)
Initializes a new instance of QueryNodeException
with the specified message
.
Declaration
public QueryNodeException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
QueryNodeException(String, Exception)
Initializes a new instance of QueryNodeException with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public QueryNodeException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.Exception | innerException | An exception instance to wrap |