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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user