public interface BeanReaderErrorHandler
BeanReader
. When set on a BeanReader,
the BeanReader will delegate all exception handling to this class. When an error handler
is not set on a reader, the BeanReader's read() will simply throw the exception.BeanReader
Modifier and Type | Method and Description |
---|---|
void |
handleError(BeanReaderException ex)
Callback method for handling a
BeanReaderException when using
a BeanReader . |
void handleError(BeanReaderException ex) throws Exception
BeanReaderException
when using
a BeanReader
.ex
- the BeanReaderException
to handleException
- if the BeanReaderException is rethrown or the error
handler throws a new Exception