-
Bug
-
Resolution: Done
-
Major
-
1.0.0.Final
-
None
When an invalid job execution id is passed to certain methods in javax.batch.operations.JobOperator, NoSuchJobExecutionException should be thrown according to javadoc.
start, restart, stop and abandon methods already handles that. Need to check other getter methods that are required to throw NoSuchJobExecutionException
- Properties getParameters(final long executionId) throws NoSuchJobExecutionException, JobSecurityException
- JobInstance getJobInstance(final long executionId) throws NoSuchJobExecutionException, JobSecurityException
- JobExecution getJobExecution(final long executionId) throws NoSuchJobExecutionException, JobSecurityException
- List<StepExecution> getStepExecutions(final long jobExecutionId) throws NoSuchJobExecutionException, JobSecurityException
- is related to
-
JBERET-136 JobOperatorImpl.getJobExecutions method needs to throw NoSuchJobInstanceException when invalid job instance is passed in
- Resolved
- relates to
-
JBERET-133 Distinguish between NoSuchJobException and 0 JobInstance of an existing job
- Resolved
- links to