Package org.jibx.schema.validation
Interface ProblemHandler
- All Known Implementing Classes:
ProblemConsoleLister,ProblemLogLister,ProblemMultiHandler
public interface ProblemHandler
Interface for handling problems found in validation and processing of schemas.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleError(ValidationProblem prob) Handle error.voidhandleFatal(ValidationProblem prob) Handle fatal.voidHandle unimplemented feature.voidHandle warning.voidReport progress information.voidTerminate processing.voidTerminate processing.
-
Method Details
-
handleUnimplemented
Handle unimplemented feature.- Parameters:
prob-
-
handleWarning
Handle warning.- Parameters:
prob-
-
handleError
Handle error.- Parameters:
prob-
-
handleFatal
Handle fatal.- Parameters:
prob-
-
report
Report progress information.- Parameters:
msg- progress information
-
terminate
Terminate processing.- Parameters:
msg- message reporting why processing is being terminated
-
terminate
Terminate processing.- Parameters:
msg- message reporting why processing is being terminatedthr- throwable with problem details
-