[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
Platform: All


Issue Links:
Blocks
blocks NETCONF-232 Exclude flawed models from mount point Resolved
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 ]

fix: https://git.opendaylight.org/gerrit/#/c/42885/

Comment by Igor Foltin [ 04/Aug/16 ]

the previous fix was replaced by a new one: https://git.opendaylight.org/gerrit/#/c/43113/

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