Interface IDatabaseWriterErrorHandler
- All Superinterfaces:
IExtensionPoint
- All Known Implementing Classes:
BshDatabaseWriterFilter,DatabaseWriterErrorIgnorer,DynamicDatabaseWriterFilter,JavaDatabaseWriterFilter,SQLDatabaseWriterFilter
-
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleError(DataContext context, Table table, CsvData data, Exception ex) This method is called if any error occurs while theDefaultDatabaseWriteris processing aCsvDatain the write method.
-
Method Details
-
handleError
This method is called if any error occurs while theDefaultDatabaseWriteris processing aCsvDatain 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
DataProcessorshould continue to process on.
-