[YANGTOOLS-1306] Correctly tag unique constraint violations Created: 14/Jul/21  Updated: 19/Aug/21  Resolved: 19/Aug/21

Status: Resolved
Project: yangtools
Component/s: data-api, data-impl
Affects Version/s: None
Fix Version/s: 7.0.5

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

Issue Links:
Blocks
is blocked by YANGTOOLS-1305 Add YangError replacements Resolved

 Description   

UniqueConstraintException and UniqueValidationFailedException are reported when we detect violation of a unique constraint.

As per RFC6020 section 8.3.1  we should be providing appropriate YangNetconfError information with them. Make both exceptions YangNetconfErrorAware.


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