Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-135

Need to throw NoSuchJobExecutionException when an invalid execution id is passed in

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.0.Beta1
    • 1.0.0.Final
    • jberet-core
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: