BeanIO 2.0.4

org.beanio
Interface BeanReaderErrorHandler

All Known Implementing Classes:
BeanReaderErrorHandlerSupport

public interface BeanReaderErrorHandler

A callback interface for handling exceptions thrown by a 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.

Since:
1.0
Author:
Kevin Seim
See Also:
BeanReader

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

Method Detail

handleError

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

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

BeanIO 2.0.4

Copyright © 2010-2013 Kevin Seim