Migrate rawStatementArgument()/getStatementSourceReference() callers
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / ordered_by / OrderedByStatementSupport.java
index 9359e67e64d6df927a91e24dd11017e3f9a295a2..e1373b46052db47c26a9555730c3173531722fec 100644 (file)
@@ -53,7 +53,7 @@ public final class OrderedByStatementSupport
         try {
             return Ordering.forArgument(value);
         } catch (IllegalArgumentException e) {
-            throw new SourceException(ctx.getStatementSourceReference(), e, "Invalid ordered-by argument '%s'", value);
+            throw new SourceException(ctx.sourceReference(), e, "Invalid ordered-by argument '%s'", value);
         }
     }