Bug 6244: Add context to exceptions thrown by yang statement parser
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / spi / meta / SomeModifiersUnresolvedException.java
index 169a75afd6a8e2e562155929727ea96382cb552e..ef3b151d96a1146c2f6ff601e3ac5667cf32e454 100644 (file)
@@ -7,12 +7,14 @@
  */
 package org.opendaylight.yangtools.yang.parser.spi.meta;
 
+import org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier;
+
 public class SomeModifiersUnresolvedException extends ReactorException {
 
     private static final long serialVersionUID = 1L;
 
-    public SomeModifiersUnresolvedException(ModelProcessingPhase phase) {
-        super(phase,"Some of " + phase + " modifiers for statements were not resolved.");
+    public SomeModifiersUnresolvedException(ModelProcessingPhase phase, SourceIdentifier sourceId, Throwable cause) {
+        super(phase, "Some of " + phase + " modifiers for statements were not resolved.", sourceId, cause);
     }
 
 }