org.springframework.batch.core.annotation
Annotation Type OnWriteError


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface OnWriteError

Marks a method to be called if an exception is thrown by an ItemWriter

Expected signature: void onWriteError(Exception exception, List<? extends S> items)

Since:
2.0
Author:
Lucas Ward
See Also:
ItemWriteListener



Copyright © 2013 SpringSource. All Rights Reserved.