[NETCONF-1188] Refactor RestconfDocumentedException Created: 20/Oct/23  Updated: 20/Oct/23

Status: In Progress
Project: netconf
Component/s: restconf-nb
Affects Version/s: None
Fix Version/s: 7.0.0

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Unresolved Votes: 0
Labels: pt
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Rewire 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.


Generated at Wed Feb 07 20:16:53 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.