public class ProblemMultiHandler extends java.lang.Object implements ProblemHandler
| Modifier and Type | Field and Description |
|---|---|
private java.util.List |
m_handlers
List of delegate handlers.
|
| Constructor and Description |
|---|
ProblemMultiHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(ProblemHandler handler)
Add handler to delegate list.
|
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 addHandler(ProblemHandler handler)
handler - public void handleUnimplemented(ValidationProblem prob)
handleUnimplemented in interface ProblemHandlerprob - public void handleWarning(ValidationProblem prob)
handleWarning in interface ProblemHandlerprob - public void handleError(ValidationProblem prob)
handleError in interface ProblemHandlerprob - public void handleFatal(ValidationProblem prob)
handleFatal in interface ProblemHandlerprob - public void report(java.lang.String msg)
report in interface ProblemHandlermsg - progress informationpublic void terminate(java.lang.String msg)
terminate in interface ProblemHandlermsg - message reporting why processing is being terminated.public void terminate(java.lang.String msg,
java.lang.Throwable thr)
terminate in interface ProblemHandlermsg - message reporting why processing is being terminated.thr - throwable with problem details