Package org.beanio
Interface BeanReaderErrorHandler
-
- All Known Implementing Classes:
BeanReaderErrorHandlerSupport
public interface BeanReaderErrorHandlerA callback interface for handling exceptions thrown by aBeanReader. When set on aBeanReader, theBeanReaderwill delegate all exception handling to this class. When an error handler is not set on a reader, theBeanReader'sread()will simply throw the exception.- Since:
- 1.0
- See Also:
BeanReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleError(BeanReaderException ex)Callback method for handling aBeanReaderExceptionwhen using aBeanReader.
-
-
-
Method Detail
-
handleError
void handleError(BeanReaderException ex) throws java.lang.Exception
Callback method for handling aBeanReaderExceptionwhen using aBeanReader.- Parameters:
ex- theBeanReaderExceptionto handle- Throws:
java.lang.Exception- if theBeanReaderExceptionis rethrown or the error handler throws a new Exception
-
-