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 () | |
No arg constructor. | |
TokenMgrError (System.String message, int reason) | |
Constructor with message and reason. | |
TokenMgrError (bool EOFSeen, int lexState, int errorLine, int errorColumn, System.String errorAfter, char curChar, int reason) | |
Full Constructor. | |
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 : | |
Token Manager Error.
Definition at line 28 of file TokenMgrError.cs.
Lucene.Net.QueryParsers.TokenMgrError.TokenMgrError | ( | ) |
No arg constructor.
Definition at line 153 of file TokenMgrError.cs.
Lucene.Net.QueryParsers.TokenMgrError.TokenMgrError | ( | System.String | message, |
int | reason | ||
) |
Constructor with message and reason.
Definition at line 158 of file TokenMgrError.cs.
Lucene.Net.QueryParsers.TokenMgrError.TokenMgrError | ( | bool | EOFSeen, |
int | lexState, | ||
int | errorLine, | ||
int | errorColumn, | ||
System.String | errorAfter, | ||
char | curChar, | ||
int | reason | ||
) |
Full Constructor.
Definition at line 164 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 39 of file TokenMgrError.cs.