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

Refactor RestconfDocumentedException

    XMLWordPrintable

Details

    • Improvement
    • Status: In Progress
    • Medium
    • Resolution: Unresolved
    • None
    • 7.0.0
    • restconf-nb

    Description

      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.

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated: