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
    System.Object
    System.Exception
    QueryNodeException
    QueryNodeParseException
    ParseException
    Implements
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.Exception.GetBaseException()
    System.Exception.GetType()
    System.Exception.ToString()
    System.Exception.Data
    System.Exception.HelpLink
    System.Exception.HResult
    System.Exception.InnerException
    System.Exception.Message
    System.Exception.Source
    System.Exception.StackTrace
    System.Exception.TargetSite
    System.Exception.SerializeObjectState
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.QueryParsers.Flexible.Core
    Assembly: Lucene.Net.QueryParser.dll
    Syntax
    [Serializable]
    public class QueryNodeParseException : QueryNodeException, ISerializable

    Constructors

    | Improve this Doc View Source

    QueryNodeParseException(Exception)

    Declaration
    public QueryNodeParseException(Exception cause)
    Parameters
    Type Name Description
    System.Exception cause
    | Improve this Doc View Source

    QueryNodeParseException(SerializationInfo, StreamingContext)

    Initializes a new instance of this class with serialized data.

    Declaration
    protected QueryNodeParseException(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.

    | Improve this Doc View Source

    QueryNodeParseException(String)

    Declaration
    public QueryNodeParseException(string message)
    Parameters
    Type Name Description
    System.String message
    | Improve this Doc View Source

    QueryNodeParseException(String, Exception)

    Declaration
    public QueryNodeParseException(string message, Exception innerException)
    Parameters
    Type Name Description
    System.String message
    System.Exception innerException

    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; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    GetObjectData(SerializationInfo, StreamingContext)

    Declaration
    public override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info
    System.Runtime.Serialization.StreamingContext context
    Overrides
    System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

    Implements

    System.Runtime.Serialization.ISerializable

    See Also

    QueryNodeException
    ISyntaxParser
    IQueryNode
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 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.