public interface SchemaErrorHandler
Modifier and Type | Method and Description |
---|---|
List<Throwable> |
getErrors()
Returns list of handled errors.
|
void |
handle(org.slf4j.Logger log,
String message,
Throwable exception)
Handle schema error.
|
void |
reset()
Resets implementation state.
|
boolean |
wasError()
Returns true if the implementation handled at least one error.
|
void handle(org.slf4j.Logger log, String message, Throwable exception)
log
- Logger that could be used to record error messages.message
- Error message.exception
- Exception (if available). Exception may provide more structured description
of the error. But it may not be available for all error states. However, only
those invocations of handle() method that contain an exceptions are considered to
be errors. The implementation may ignore any invocations that do not contain exception.boolean wasError()
List<Throwable> getErrors()
void reset()
Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.