Class QueryNodeError
A query node error.
Inheritance
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Core
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Serializable]
public class QueryNodeError : ArgumentException, ISerializable, IError
Constructors
| Improve this Doc View SourceQueryNodeError(Exception)
Initializes a new instance of QueryNodeError with a specified inner exception that is the cause of this exception.
Declaration
public QueryNodeError(Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | innerException | The exception that is the cause of the current exception.
If the |
QueryNodeError(SerializationInfo, StreamingContext)
Initializes a new instance of this class with serialized data.
Declaration
protected QueryNodeError(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. |
QueryNodeError(String)
Initializes a new instance of QueryNodeError
with the specified message
.
Declaration
public QueryNodeError(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
QueryNodeError(String, Exception)
Initializes a new instance of QueryNodeError with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public QueryNodeError(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.Exception | innerException | The exception that is the cause of the current exception.
If the |
QueryNodeError(String, String)
Initializes a new instance of QueryNodeError
with the specified message
and paramName
.
Declaration
public QueryNodeError(string message, string paramName)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.String | paramName | The name of the parameter that caused the current error. |
QueryNodeError(String, String, Exception)
Initializes a new instance of QueryNodeError
with the specified message
, paramName
and innerException
.
Declaration
public QueryNodeError(string message, string paramName, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
System.String | paramName | The name of the parameter that caused the current error. |
System.Exception | innerException | The exception that is the cause of the current exception.
If the |