StepExecution stepExecution = jobService.getStepExecution(jobExecutionId, stepExecutionId);
return this.stepExecutionInfoResourceAssembler.toResource(new StepExecutionInfo(stepExecution,
this.timeZone));
}
catch (org.springframework.batch.admin.service.NoSuchStepExecutionException e) {
throw new NoSuchStepExecutionException(stepExecutionId);
}
catch (org.springframework.batch.core.launch.NoSuchJobExecutionException e) {
throw new NoSuchJobExecutionException(jobExecutionId);
}
}