Annotation Interface OnWriteError
Marks a method to be called if an exception is thrown by an
Expected signature: void onWriteError(
ItemWriter. Note
that this annotation takes a Chunk because
Spring Batch generally processes a group of items (for the sake of efficiency).Expected signature: void onWriteError(
Exception exception,
Chunk<? extends S> items)- Since:
- 2.0
- Author:
- Lucas Ward, Mahmoud Ben Hassine
- See Also: