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


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

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

Expected signature: void onReadError(Exception ex)

Since:
2.0
Author:
Lucas Ward
See Also:
ItemReadListener



Copyright © 2013 SpringSource. All Rights Reserved.