Class ParserException
Thrown when the xml queryparser encounters invalid syntax/configuration.
Inheritance
System.Object
System.Exception
ParserException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
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.Xml
Assembly: Lucene.Net.QueryParser.dll
Syntax
[Serializable]
public class ParserException : Exception, ISerializable
Constructors
| Improve this Doc View SourceParserException()
Declaration
public ParserException()
ParserException(Exception)
Declaration
public ParserException(Exception cause)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | cause |
ParserException(SerializationInfo, StreamingContext)
Initializes a new instance of this class with serialized data.
Declaration
protected ParserException(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. |
ParserException(String)
Declaration
public ParserException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
ParserException(String, Exception)
Declaration
public ParserException(string message, Exception cause)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
System.Exception | cause |
Implements
System.Runtime.Serialization.ISerializable