public class ErrorStruct extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
col |
(package private) String |
errorType |
(package private) int |
line |
(package private) String |
msg |
| Constructor and Description |
|---|
ErrorStruct(int line,
int col,
String msg)
Creates an error structure, with errortype "none".
|
ErrorStruct(String errorType,
int line,
int col,
String msg)
Creates an error structure.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnNumber()
Returns the column number in the parsed source (file or textbuffer)
where the error occurred.
|
String |
getErrorType()
Returns the error type.
|
int |
getLineNumber()
Returns the line number in the parsed source (file or textbuffer)
where the error occurred.
|
String |
getMessage()
Returns a more detailed error message.
|
String |
toString()
prints the ErrorStruct
|
public ErrorStruct(int line,
int col,
String msg)
line - the line number where the error occurredcol - the column number where the error occurredmsg - the error messagepublic String getErrorType()
public int getLineNumber()
public int getColumnNumber()
public String getMessage()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}