public class BeanReaderErrorHandlerSupport extends Object implements BeanReaderErrorHandler
| Constructor and Description | 
|---|
BeanReaderErrorHandlerSupport()
Constructs a new BeanReaderErrorHandlerSupport. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
fatalError(BeanReaderException ex)
Handles errors not handled by any other method. 
 | 
void | 
handleError(BeanReaderException ex)
Delegates error handling based on the exception type. 
 | 
void | 
invalidRecord(InvalidRecordException ex)
Handles InvalidRecordException and InvalidRecordGroupException errors. 
 | 
void | 
malformedRecord(MalformedRecordException ex)
Handles MalformedRecordException errors. 
 | 
void | 
unexpectedRecord(UnexpectedRecordException ex)
Handles UnexpectedRecordException errors. 
 | 
void | 
unidentifiedRecord(UnidentifiedRecordException ex)
Handles UnidentifiedRecordException errors. 
 | 
public BeanReaderErrorHandlerSupport()
public final void handleError(BeanReaderException ex) throws Exception
handleError in interface BeanReaderErrorHandlerex - the BeanReaderException to handleException - if the BeanReaderException is rethrown or this error
   handler throws a new Exceptionpublic void invalidRecord(InvalidRecordException ex) throws Exception
ex - the InvalidRecordException to handleException - if the exception is not handledpublic void unexpectedRecord(UnexpectedRecordException ex) throws Exception
ex - the UnexpectedRecordException to handleException - if the exception is not handledpublic void unidentifiedRecord(UnidentifiedRecordException ex) throws Exception
ex - the UnidentifiedRecordException to handleException - if the exception is not handledpublic void malformedRecord(MalformedRecordException ex) throws Exception
ex - the MalformedRecordException to handleException - if the exception is not handledpublic void fatalError(BeanReaderException ex) throws Exception
ex - the BeanReaderException to handleException - if the exception is not handled