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

Move ExceptionHandler logic to WebException then remove it

    XMLWordPrintable

    Details

    • Type: User story
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Component/s: Automation, WebEngine

      Description

      The goal is to unify exception handling into WebEngine org.nuxeo.ecm.webengine.WebException. The best is to move org.nuxeo.ecm.automation.jaxrs.ExceptionHandler logic into WebException.

      Then remove org.nuxeo.ecm.automation.jaxrs.ExceptionHandler and replace related calls.

      For information:

      WebException response type is plain text.
      ExceptionHandler response type is application/json (nxentity)

      This last one is written by org.nuxeo.ecm.automation.jaxrs.io.JsonExceptionWriter

        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.