|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--mars.ErrorList
Maintains list of generated error messages, regardless of source (tokenizing, parsing, assembly, execution).
| Constructor Summary | |
ErrorList()
Constructor for ErrorList |
|
| Method Summary | |
void |
add(ErrorMessage mess)
Add new error message to end of list. |
int |
errorCount()
Count of number of error messages in list. |
boolean |
errorsOccurred()
Determine whether error has occured or not. |
java.lang.String |
generateErrorAndWarningReport()
Produce report containing both warnings and errors, warnings first. |
java.lang.String |
generateErrorReport()
Produce error report. |
java.lang.String |
generateWarningReport()
Produce warning report. |
int |
warningCount()
Count of number of warning messages in list. |
boolean |
warningsOccurred()
Determine whether warning has occured or not. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ErrorList()
| Method Detail |
public boolean errorsOccurred()
public boolean warningsOccurred()
public void add(ErrorMessage mess)
mess - ErrorMessage object to be added to end of error list.public int errorCount()
public int warningCount()
public java.lang.String generateErrorReport()
public java.lang.String generateWarningReport()
public java.lang.String generateErrorAndWarningReport()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||