Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | Properties | List of all members
Lucene.Net.Demo.Html.TokenMgrError Class Reference

Inherits ApplicationException.

Public Member Functions

 TokenMgrError ()
 
 TokenMgrError (System.String message, int reason)
 
 TokenMgrError (bool EOFSeen, int lexState, int errorLine, int errorColumn, System.String errorAfter, char curChar, int reason)
 

Properties

override System.String Message [get]
 You can also modify the body of this method to customize your error messages. For example, cases like LOOP_DETECTED and INVALID_LEXICAL_STATE are not of end-users concern, so you can return something like :
 

Detailed Description

Definition at line 26 of file TokenMgrError.cs.

Constructor & Destructor Documentation

Lucene.Net.Demo.Html.TokenMgrError.TokenMgrError ( )

Definition at line 149 of file TokenMgrError.cs.

Lucene.Net.Demo.Html.TokenMgrError.TokenMgrError ( System.String  message,
int  reason 
)

Definition at line 153 of file TokenMgrError.cs.

Lucene.Net.Demo.Html.TokenMgrError.TokenMgrError ( bool  EOFSeen,
int  lexState,
int  errorLine,
int  errorColumn,
System.String  errorAfter,
char  curChar,
int  reason 
)

Definition at line 158 of file TokenMgrError.cs.

Property Documentation

override System.String Lucene.Net.Demo.Html.TokenMgrError.Message
get

You can also modify the body of this method to customize your error messages. For example, cases like LOOP_DETECTED and INVALID_LEXICAL_STATE are not of end-users concern, so you can return something like :

"Internal Error : Please file a bug report .... "

from this method for such cases in the release version of your parser.

Definition at line 37 of file TokenMgrError.cs.


The documentation for this class was generated from the following file: