OPEN - issue BATCH-490: SkipLimitStepFactoryBean ignores the skippableExceptionClasses property

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

fixed the obvious bug, but found deeper issue (see TODO in tests)
This commit is contained in:
robokaso
2008-03-19 13:58:52 +00:00
parent f8a74f39ac
commit d4710ab1be
2 changed files with 4 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ public class SkipLimitStepFactoryBean extends SimpleStepFactoryBean {
SimpleLimitExceptionHandler exceptionHandler = new SimpleLimitExceptionHandler();
exceptionHandler.setLimit(skipLimit);
exceptionHandler.setExceptionClasses(skippableExceptionClasses);
setExceptionHandler(new SimpleLimitExceptionHandler(skipLimit));
setExceptionHandler(exceptionHandler);
getStepOperations().setExceptionHandler(getExceptionHandler());
}
else {