Interface IDatabaseWriterErrorHandler
- All Superinterfaces:
IExtensionPoint
- All Known Implementing Classes:
BshDatabaseWriterFilter
,DatabaseWriterErrorIgnorer
,DynamicDatabaseWriterFilter
,JavaDatabaseWriterFilter
,SQLDatabaseWriterFilter
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handleError
(DataContext context, Table table, CsvData data, Exception ex) This method is called if any error occurs while theDefaultDatabaseWriter
is processing aCsvData
in the write method.
-
Method Details
-
handleError
This method is called if any error occurs while theDefaultDatabaseWriter
is processing aCsvData
in the write method. This method gives an option to take an action on an error or even simply ignore it.- Parameters:
table
- TODO- Returns:
- true if the error should be processed as normal or false if the error should be ignored and the
DataProcessor
should continue to process on.
-