Migrate rawStatementArgument()/getStatementSourceReference() callers
[yangtools.git] / yang / yang-parser-rfc7950 / src / main / java / org / opendaylight / yangtools / yang / parser / rfc7950 / stmt / value / ValueStatementSupport.java
index 2819873d82e132dd1e192e3c22a6ea0a4da560e7..b3d360634cb920bc7d0936f18a144fefb64fcab3 100644 (file)
@@ -38,7 +38,7 @@ public final class ValueStatementSupport
         try {
             return Integer.valueOf(value);
         } catch (NumberFormatException e) {
-            throw new SourceException(ctx.getStatementSourceReference(), e,
+            throw new SourceException(ctx.sourceReference(), e,
                 "%s is not valid value statement integer argument in a range of -2147483648..2147483647", value);
         }
     }