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 TypeMethodDescriptionvoid
handleError
(ValidationProblem prob) Handle error.void
handleFatal
(ValidationProblem prob) Handle fatal.void
Handle unimplemented feature.void
Handle warning.void
Report progress information.void
Terminate processing.void
Terminate 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
-