Class QueryNodeParseException
This should be thrown when an exception happens during the query parsing from
string to the query node tree.
Inheritance
System.Object
QueryNodeParseException
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class QueryNodeParseException : QueryNodeException, INLSException
Constructors
|
Improve this Doc
View Source
QueryNodeParseException(Exception)
Declaration
public QueryNodeParseException(Exception throwable)
Parameters
Type |
Name |
Description |
Exception |
throwable |
|
|
Improve this Doc
View Source
QueryNodeParseException(IMessage)
Declaration
public QueryNodeParseException(IMessage message)
Parameters
|
Improve this Doc
View Source
QueryNodeParseException(IMessage, Exception)
Declaration
public QueryNodeParseException(IMessage message, Exception throwable)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
Exception |
throwable |
|
Properties
|
Improve this Doc
View Source
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 |
System.Int32 |
|
|
Improve this Doc
View Source
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 |
System.Int32 |
|
|
Improve this Doc
View Source
ErrorToken
The errorToken in the query
Declaration
public virtual string ErrorToken { get; protected set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Query
Declaration
public virtual string Query { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
SetNonLocalizedMessage(IMessage)
Declaration
public virtual void SetNonLocalizedMessage(IMessage message)
Parameters
|
Improve this Doc
View Source
SetQuery(String)
Declaration
public virtual void SetQuery(string query)
Parameters
Type |
Name |
Description |
System.String |
query |
|
Implements
See Also