jobExecutionInfos.add(new JobExecutionInfo(jobExecution, timeZone));
}
return jobInstanceInfoResourceAssembler.toResource(new JobInstanceInfo(jobInstance, jobExecutionInfos));
}
catch (NoSuchJobException e) {
throw new NoSuchBatchJobException(jobName);
}
}
catch (NoSuchJobInstanceException e) {
throw new NoSuchBatchJobInstanceException(instanceId);
}