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 TypeMethodDescriptionbooleanhandleError(DataContext context, Table table, CsvData data, Exception ex) This method is called if any error occurs while theDefaultDatabaseWriteris processing aCsvDatain the write method.
-
Constructor Details
-
DatabaseWriterErrorIgnorer
public DatabaseWriterErrorIgnorer()
-
-
Method Details
-
handleError
Description copied from interface:IDatabaseWriterErrorHandlerThis 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.- Specified by:
handleErrorin interfaceIDatabaseWriterErrorHandlertable- 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.
-