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

Distinguish between NoSuchJobException and 0 JobInstance of an existing job

    XMLWordPrintable

Details

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

    Description

      JobOperator javadoc:
      http://docs.oracle.com/javaee/7/api/javax/batch/operations/JobOperator.html

      some methods (e.g., getJobInstanceCount throw NoSuchJobException when the job name passed in as param represents no such job in the repository. There could also be the case where the job of that name does exist, but there is 0 job instance.

      The current JobOperatorImpl throws NoSuchJobException when no job instance is found for that jobName, which should be fixed to distinghish them.

      There could be similar issues, to a lesser extent, in other method impls in JobOperatorImpl

      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: