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

JobOperatorImpl methods should throw NoSuchJobException and the likes instead of NullPointerException for null param

XMLWordPrintable

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

      1, In JobOperator interface, NoSuchJobException is declared in the throws list of these methods;

      2, NoSuchJobException is more specific than NullPointerException.

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

              Created:
              Updated:
              Resolved: