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


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

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

Expected signature: void onProcessError(T item, Exception e)

Since:
2.0
Author:
Lucas Ward
See Also:
ItemProcessListener



Copyright © 2013 SpringSource. All Rights Reserved.