Interface IDatabaseWriterErrorHandler

All Superinterfaces:
IExtensionPoint
All Known Implementing Classes:
BshDatabaseWriterFilter, DatabaseWriterErrorIgnorer, DynamicDatabaseWriterFilter, JavaDatabaseWriterFilter, SQLDatabaseWriterFilter

public interface IDatabaseWriterErrorHandler extends IExtensionPoint
  • Method Details

    • handleError

      boolean handleError(DataContext context, Table table, CsvData data, Exception ex)
      This method is called if any error occurs while the DefaultDatabaseWriter is processing a CsvData 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.