[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: |
|
||||||||
| 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. |