RESOLVED - BATCH-435 Tasklet step now propagates JobInterruptedException up to job
This commit is contained in:
@@ -163,6 +163,9 @@ public class TaskletStep extends AbstractStep implements Step, InitializingBean,
|
||||
catch (Exception ex) {
|
||||
logger.error("Encountered an error on listener close.", ex);
|
||||
}
|
||||
if (e instanceof JobInterruptedException) {
|
||||
throw (JobInterruptedException) e;
|
||||
}
|
||||
if (e instanceof RuntimeException) {
|
||||
throw (RuntimeException) e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user