Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class QueryNodeParseException

    This should be thrown when an exception happens during the query parsing from string to the query node tree.

    Inheritance
    object
    Exception
    QueryNodeException
    QueryNodeParseException
    ParseException
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    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
    QueryNodeException
    ISyntaxParser
    IQueryNode

    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
    QueryNodeException
    ISyntaxParser
    IQueryNode

    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
    QueryNodeException
    ISyntaxParser
    IQueryNode

    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
    QueryNodeException
    ISyntaxParser
    IQueryNode

    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
    QueryNodeException
    ISyntaxParser
    IQueryNode

    ErrorToken

    The errorToken in the query

    Declaration
    public virtual string ErrorToken { get; protected set; }
    Property Value
    Type Description
    string
    See Also
    QueryNodeException
    ISyntaxParser
    IQueryNode

    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
    See Also
    QueryNodeException
    ISyntaxParser
    IQueryNode

    Implements

    ISerializable

    See Also

    QueryNodeException
    ISyntaxParser
    IQueryNode
    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.