Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1188

Refactor RESTCONF server error reporting

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • 7.0.5
    • None
    • restconf-nb

      RestconfDocumentedException has a number of problems:

      1. it is tied to WebApplicationException, which is a JAX-RS thing
      2. it requires status, which is a JAX-RS thing
      3. if can be instantiated with no errors
      4. it is an unchecked exception
      5. it's instantiation is quite verbose for users

      Gradually address all of these issues. The primary goal is to ditch the binding to JAX-RS. In that regard the actual status code should always be inferred from the error list.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: