Class QueryNodeParseException
This should be thrown when an exception happens during the query parsing from string to the query node tree.
Implements
Inherited Members
Namespace: Lucene.Net.QueryParsers.Flexible.Core
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Serializable]
public class QueryNodeParseException : QueryNodeException, ISerializable
Constructors
QueryNodeParseException(Exception?)
This should be thrown when an exception happens during the query parsing from string to the query node tree.
Declaration
public QueryNodeParseException(Exception? cause)
Parameters
Type | Name | Description |
---|---|---|
Exception | cause |
See Also
QueryNodeParseException(string?)
This should be thrown when an exception happens during the query parsing from string to the query node tree.
Declaration
public QueryNodeParseException(string? message)
Parameters
Type | Name | Description |
---|---|---|
string | message |
See Also
QueryNodeParseException(string?, Exception?)
This should be thrown when an exception happens during the query parsing from string to the query node tree.
Declaration
public QueryNodeParseException(string? message, Exception? innerException)
Parameters
Type | Name | Description |
---|---|---|
string | message | |
Exception | innerException |
See Also
Properties
BeginColumn
For EndOfLine and EndOfFile ("<EOF>") parsing problems the last char in the string is returned. For the case where the parser is not able to figure out the line and column number -1 will be returned. Returns column of the first char where the problem was found.
Declaration
public virtual int BeginColumn { get; protected set; }
Property Value
Type | Description |
---|---|
int |
See Also
BeginLine
For EndOfLine and EndOfFile ("<EOF>") parsing problems the last char in the string is returned. For the case where the parser is not able to figure out the line and column number -1 will be returned. Returns line where the problem was found.
Declaration
public virtual int BeginLine { get; protected set; }
Property Value
Type | Description |
---|---|
int |
See Also
ErrorToken
The errorToken in the query
Declaration
public virtual string ErrorToken { get; protected set; }
Property Value
Type | Description |
---|---|
string |
See Also
Query
This should be thrown when an exception happens during the query parsing from string to the query node tree.
Declaration
public virtual string? Query { get; set; }
Property Value
Type | Description |
---|---|
string |