[YANGTOOLS-1187] Remove use of StatementSourceReference from AbstractDeclaredEffectiveStatement Created: 27/Nov/20  Updated: 27/Nov/20  Resolved: 27/Nov/20

Status: Resolved
Project: yangtools
Component/s: parser
Affects Version/s: None
Fix Version/s: 7.0.0

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


 Description   

AbstractDeclaredEffectiveStatement uses StatementSourceReference to throw SourceException when schema tree/data tree indexing fails.

Define two IllegalArgumentExceptions and throws those instead, adjusting callers to wrap these exceptions with SourceException.


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