BeanIO 1.2.3

org.beanio
Interface BeanReaderErrorHandler

All Known Implementing Classes:
BeanReaderErrorHandlerSupport

public interface BeanReaderErrorHandler

Optional bean reader error handler callback. When set on a BeanReader, the bean reader will delegate all exception handling to this class. When an error handler is not set on a reader, the bean reader will simply throw the exception from its read() method.

Since:
1.0
Author:
Kevin Seim
See Also:
BeanReader

Method Summary
 void handleError(BeanReaderException ex)
          Callback method for handling BeanReaderExceptions when using a bean reader.
 

Method Detail

handleError

void handleError(BeanReaderException ex)
                 throws Exception
Callback method for handling BeanReaderExceptions when using a bean reader.

Parameters:
ex - the BeanReaderException to handle
Throws:
Exception - if the BeanReaderException is rethrown or the error handler throws a new Exception

BeanIO 1.2.3

Copyright © 2010-2012 Kevin Seim