Class DatabaseWriterErrorIgnorer
java.lang.Object
org.jumpmind.symmetric.io.data.writer.DatabaseWriterErrorIgnorer
- All Implemented Interfaces:
IExtensionPoint
,IDatabaseWriterErrorHandler
An
IDatabaseWriterErrorHandler
that ignores all errors.-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
DatabaseWriterErrorIgnorer
public DatabaseWriterErrorIgnorer()
-
-
Method Details
-
handleError
Description copied from interface:IDatabaseWriterErrorHandler
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.- Specified by:
handleError
in interfaceIDatabaseWriterErrorHandler
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.
-