IN PROGRESS - issue BATCH-422: Provide ability to specify exception types as well as skip limit in DefaultStepFactoryBean

http://jira.springframework.org/browse/BATCH-422

SimpleLimitExceptionHandler property generalized to ExceptionHandler
This commit is contained in:
robokaso
2008-03-12 09:54:14 +00:00
parent 51ba864186
commit 19aea73481

View File

@@ -54,7 +54,7 @@ public class DefaultStepFactoryBean extends AbstractStepFactoryBean {
private RepeatTemplate stepOperations;
private SimpleLimitExceptionHandler exceptionHandler;
private ExceptionHandler exceptionHandler;
/**
* Set the commit interval.
@@ -113,7 +113,7 @@ public class DefaultStepFactoryBean extends AbstractStepFactoryBean {
* Public setter for the SimpleLimitExceptionHandler.
* @param exceptionHandler the exceptionHandler to set
*/
public void setExceptionHandler(SimpleLimitExceptionHandler exceptionHandler) {
public void setExceptionHandler(ExceptionHandler exceptionHandler) {
this.exceptionHandler = exceptionHandler;
}