This exception is thrown when parse errors are encountered. You can explicitly create objects of this exception type by calling the method generateParseException in the generated parser. You can modify this class to customize your error reporting mechanisms so long as you retain the public fields.

Namespace: Lucene.Net.QueryParsers
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[SerializableAttribute]
public class ParseException : Exception
Visual Basic
<SerializableAttribute> _
Public Class ParseException _
	Inherits Exception
Visual C++
[SerializableAttribute]
public ref class ParseException : public Exception

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    Lucene.Net.QueryParsers..::..ParseException

See Also