Class QueryNodeParseException
This should be thrown when an exception happens during the query parsing from string to the query node tree.
Inheritance
System.Object
System.Exception
QueryNodeParseException
Implements
Inherited Members
System.Exception.GetBaseException()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Source
System.Exception.StackTrace
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.QueryParsers.Flexible.Core
Assembly: Lucene.Net.QueryParser.dll
Syntax
public class QueryNodeParseException : QueryNodeException, INLSException
Constructors
| Improve this Doc View SourceQueryNodeParseException(IMessage)
Declaration
public QueryNodeParseException(IMessage message)
Parameters
Type | Name | Description |
---|---|---|
IMessage | message |
QueryNodeParseException(IMessage, Exception)
Declaration
public QueryNodeParseException(IMessage message, Exception throwable)
Parameters
Type | Name | Description |
---|---|---|
IMessage | message | |
System.Exception | throwable |
QueryNodeParseException(Exception)
Declaration
public QueryNodeParseException(Exception throwable)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | throwable |
Properties
| Improve this Doc View SourceBeginColumn
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 |
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 |
ErrorToken
The errorToken in the query
Declaration
public virtual string ErrorToken { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |
Query
Declaration
public virtual string Query { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceSetNonLocalizedMessage(IMessage)
Declaration
public virtual void SetNonLocalizedMessage(IMessage message)
Parameters
Type | Name | Description |
---|---|---|
IMessage | message |
SetQuery(String)
Declaration
public virtual void SetQuery(string query)
Parameters
Type | Name | Description |
---|---|---|
System.String | query |