2016-05-27 43 views

回答

1

你也可以很好地管理从StepExecutionListener's afterStep()方法例外情况,如下图所示:

ExitStatus afterStep(StepExecution stepExecution) 
{ 
List exceptions = stepExecution.getFailureExceptions(); 
....... 
}