[YANGTOOLS-635] Add context to exceptions thrown by yang statement parser Created: 21/Jul/16 Updated: 10/Apr/22 Resolved: 08/Aug/16 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Peter Kajsa | Assignee: | Igor Foltin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 6244 | ||||||||
| Description |
|
Not every parser exception contains the context (i.e. name+revision of a model that caused the error). Adding context to all parser exceptions would allow netconf (or any other layer on top of parser) to make their own decision for how to handle “flawed models” without forcing workarounds into YANGTOOLS. |
| Comments |
| Comment by Igor Foltin [ 01/Aug/16 ] |
| Comment by Igor Foltin [ 04/Aug/16 ] |
|
the previous fix was replaced by a new one: https://git.opendaylight.org/gerrit/#/c/43113/ |