|
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.
|
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 : | |
Definition at line 26 of file TokenMgrError.cs.
| 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.
|
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.
1.8.3