AppFuse
  1. AppFuse
  2. APF-576

Introduce new exception class when an Object is not found

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0-M2
    • Fix Version/s: 2.1.0
    • Component/s: Persistence Layer
    • Labels:
      None

      Description

      The GenericDao throws an ObjectRetrievalFailureException when the persistent instance of a class is not found. This exception can be raised in a few other cases too - e.g. when the request is for the wrong class. This suggestion is to create a new exception class, derived from ObjectRetrievalFailureException which is specific to the case when no such object exists: NoSuchObjectException or ObjectNotFoundException.

        Activity

        Hide
        Matt Raible added a comment -

        Moving to next release as there's been little to no demand for this.

        Show
        Matt Raible added a comment - Moving to next release as there's been little to no demand for this.

          People

          • Assignee:
            Matt Raible
            Reporter:
            Michael Horwitz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development