ProblemHandler
public class ProblemConsoleLister extends java.lang.Object implements ProblemHandler
Constructor | Description |
---|---|
ProblemConsoleLister() |
Modifier and Type | Method | Description |
---|---|---|
void |
handleError(ValidationProblem prob) |
Handle error.
|
void |
handleFatal(ValidationProblem prob) |
Handle fatal.
|
void |
handleUnimplemented(ValidationProblem prob) |
Handle unimplemented feature.
|
void |
handleWarning(ValidationProblem prob) |
Handle warning.
|
void |
report(java.lang.String msg) |
Report progress information.
|
void |
terminate(java.lang.String msg) |
Terminate processing.
|
void |
terminate(java.lang.String msg,
java.lang.Throwable thr) |
Terminate processing.
|
public void handleUnimplemented(ValidationProblem prob)
handleUnimplemented
in interface ProblemHandler
prob
- public void handleWarning(ValidationProblem prob)
handleWarning
in interface ProblemHandler
prob
- public void handleError(ValidationProblem prob)
handleError
in interface ProblemHandler
prob
- public void handleFatal(ValidationProblem prob)
handleFatal
in interface ProblemHandler
prob
- public void report(java.lang.String msg)
report
in interface ProblemHandler
msg
- progress informationpublic void terminate(java.lang.String msg)
terminate
in interface ProblemHandler
msg
- message reporting why processing is being terminatedpublic void terminate(java.lang.String msg, java.lang.Throwable thr)
terminate
in interface ProblemHandler
msg
- message reporting why processing is being terminatedthr
- throwable with problem details