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