public interface SkipWriteListener
Modifier and Type | Method and Description |
---|---|
void |
onSkipWriteItem(java.util.List<java.lang.Object> items,
java.lang.Exception ex)
The onSkipWriteItems method receives control when a
skippable exception is thrown from an ItemWriter
writeItems method.
|
void onSkipWriteItem(java.util.List<java.lang.Object> items, java.lang.Exception ex) throws java.lang.Exception
items
- specifies the list of item passed to the
item writer.ex
- specifies the exception thrown by the
ItemWriter.java.lang.Exception
- is thrown if an error occurs.