|
.NET Framework |
PREV TYPE NEXT TYPE |
FRAMES NO FRAMES |
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT |
DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
NVelocity.Runtime.Parser
Class TokenMgrError
Constructor Summary |
TokenMgrError() 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.
|
TokenMgrError(string message, int reason) |
TokenMgrError(bool EOFSeen, int lexState, int errorLine, int errorColumn, string errorAfter, char curChar, int reason) |
Method Summary |
string |
addEscapes(string str) Replaces unprintable characters by their espaced (or unicode escaped)
equivalents in the given string
|
TokenMgrError
public TokenMgrError()
-
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.
TokenMgrError
public TokenMgrError(string message,
int reason)
-
TokenMgrError
public TokenMgrError(bool EOFSeen,
int lexState,
int errorLine,
int errorColumn,
string errorAfter,
char curChar,
int reason)
-
Message
public string Message
-
addEscapes
protected internal string addEscapes(string str)
-
Replaces unprintable characters by their espaced (or unicode escaped)
equivalents in the given string
|
.NET Framework |
PREV TYPE NEXT TYPE |
FRAMES NO FRAMES |
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT |
DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |