Uploaded image for project: 'JDO'
  1. JDO
  2. JDO-759

Spec update to clarify whether methods that are documented to be hints must not throw exceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JDO 3.1
    • JDO 3.2
    • specification
    • None

    Description

      If an implementation does not support the method, it should not throw an exception. But if the implementation supports the method, and e.g. there is an illegal argument, it is allowed but is not required to throw IllegalArgumentException. It is not allowed to throw an exception simply to report that the method is not supported.

      Attachments

        Activity

          People

            tilmann Tilmann Zäschke
            mbo Michael Bouschen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: