|
Grammatica 1.5 Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
Exception
|
+--ParseException
in ParseException.csA parse exception.
| Inner Classes, Typedefs, and Enums | |
enum |
ParseException.ErrorType
The error type enumeration. |
| Field Summary | |
int |
Column
The column number property (read-only). |
ArrayList |
Details
The additional detailed error information property (read-only). |
string |
ErrorMessage
The error message property (read-only). |
string |
Info
The additional error information property (read-only). |
int |
Line
The line number property (read-only). |
override string |
Message
The message property (read-only). |
ParseException.ErrorType |
Type
The error type property (read-only). |
| Constructor Summary | |
ParseException( ParseException.ErrorType type, string info, int line, int column )
Creates a new parse exception. |
|
ParseException( ParseException.ErrorType type, string info, ArrayList details, int line, int column )
Creates a new parse exception. |
|
| Method Summary | |
int |
GetColumn()
Deprecated. Use the Column property instead. |
ArrayList |
GetDetails()
Deprecated. Use the Details property instead. |
string |
GetErrorMessage()
Deprecated. Use the ErrorMessage property instead. |
ParseException.ErrorType |
GetErrorType()
Deprecated. Use the Type property instead. |
string |
GetInfo()
Deprecated. Use the Info property instead. |
int |
GetLine()
Deprecated. Use the Line property instead. |
string |
GetMessage()
Deprecated. Use the Message property instead. |
| Field Detail |
public int Column;
public ArrayList Details;
public string ErrorMessage;
Messagepublic string Info;
public int Line;
public override string Message;
ErrorMessagepublic ParseException.ErrorType Type;
| Constructor Detail |
public ParseException( ParseException.ErrorType type, string info, int line, int column );
type - the parse error type
info - the additional information
line - the line number, or -1 for unknown
column - the column number, or -1 for unknownpublic ParseException( ParseException.ErrorType type, string info, ArrayList details, int line, int column );
type - the parse error type
info - the additional information
details - the additional detailed information
line - the line number, or -1 for unknown
column - the column number, or -1 for unknown| Method Detail |
public int GetColumn();
Returns the column number where the error occured.
Columnpublic ArrayList GetDetails();
Returns the additional detailed error information.
Detailspublic string GetErrorMessage();
Returns the error message. This message will contain all the information available, except for the line and column number information.
ErrorMessagepublic ParseException.ErrorType GetErrorType();
Returns the error type.
Typepublic string GetInfo();
Returns the additional error information.
Infopublic int GetLine();
Returns the line number where the error occured.
Linepublic string GetMessage();
Returns a default error message.
Message
|
Grammatica 1.5 Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||