Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-17447

Deprecate ClientException

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      Some exceptions were moved to the org.nuxeo.ecm.core.api package for uniformity. The previous deprecated exceptions are still available for old code, but should not be used anymore.

      • DocumentExistsException (was org.nuxeo.ecm.core.model.DocumentExistsException)
      • DocumentNotFoundException (was org.nuxeo.ecm.core.model.NoSuchDocumentException)
      • LifeCycleException (was org.nuxeo.ecm.core.lifecycle.LifeCycleException)
      • PropertyException (was org.nuxeo.ecm.core.api.model.PropertyException)

      WebDocumentException was removed.

      Show
      Some exceptions were moved to the org.nuxeo.ecm.core.api package for uniformity. The previous deprecated exceptions are still available for old code, but should not be used anymore. DocumentExistsException (was org.nuxeo.ecm.core.model.DocumentExistsException) DocumentNotFoundException (was org.nuxeo.ecm.core.model.NoSuchDocumentException) LifeCycleException (was org.nuxeo.ecm.core.lifecycle.LifeCycleException) PropertyException (was org.nuxeo.ecm.core.api.model.PropertyException) WebDocumentException was removed.

      Description

      Checked exceptions that are not specific are a pain, because catching them tells us nothing. Therefore we should remove ClientException (among others).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.