Open
Description
Albert Strasser opened BATCH-2403 and commented
In org.springframework.batch.core.step.builder.FaultTolerantStepBuilder.java
This implementation:
public FaultTolerantStepBuilder<I, O> noRetry(Class<? extends Throwable> type) {
retryableExceptionClasses.put(type, false);
return this;
}
should be changed to:
public FaultTolerantStepBuilder<I, O> noRetry(Class<? extends Throwable> type) {
nonRetryableExceptionClasses.add(type);
return this;
}
A similar problem concerns the noSkip() method in the same class.
Affects: 3.0.3, 3.0.4
3 votes, 8 watchers