|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ErrorReporter
This interface models an error reporter.
Nested Class Summary | |
---|---|
static class |
ErrorReporter.Error
This class defines a generic error traced by this extraction result. |
static class |
ErrorReporter.ErrorLevel
Possible error levels. |
Method Summary | |
---|---|
Collection<ErrorReporter.Error> |
getErrors()
Returns all the collected errors. |
void |
notifyError(ErrorReporter.ErrorLevel level,
String msg,
int row,
int col)
Notifies an error occurred while performing an extraction on an input stream. |
void |
printErrorsReport(PrintStream ps)
Prints out an errors report. |
Method Detail |
---|
void notifyError(ErrorReporter.ErrorLevel level, String msg, int row, int col)
level
- error level.msg
- error message.row
- error row.col
- error column.void printErrorsReport(PrintStream ps)
ps
- Collection<ErrorReporter.Error> getErrors()
ErrorReporter.Error
s.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |