Update MutableTreeNode methods
[yangtools.git] / yang / yang-data-api / src / main / java / org / opendaylight / yangtools / yang / data / api / schema / tree / IncorrectDataStructureException.java
index c816a944bb6e384839fcf9907a536b957cf6617a..479f63250f111d2182d16043496208003f635355 100644 (file)
@@ -7,27 +7,21 @@
  */
 package org.opendaylight.yangtools.yang.data.api.schema.tree;
 
-import org.opendaylight.yangtools.yang.data.api.InstanceIdentifier;
+import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier;
 
 /**
- * Exception thrown when a proposed change fails validation before being
- * applied into the datastore because of incorrect structure of user supplied
- * data.
- *
+ * Exception thrown when a proposed change fails validation before being applied into the datastore
+ * because of incorrect structure of user supplied data.
  */
 public class IncorrectDataStructureException extends DataValidationFailedException {
-
-    /**
-     *
-     */
     private static final long serialVersionUID = 1L;
 
-    public IncorrectDataStructureException(final InstanceIdentifier path, final String message, final Throwable cause) {
+    public IncorrectDataStructureException(final YangInstanceIdentifier path, final String message,
+            final Throwable cause) {
         super(path, message, cause);
     }
 
-    public IncorrectDataStructureException(final InstanceIdentifier path, final String message) {
+    public IncorrectDataStructureException(final YangInstanceIdentifier path, final String message) {
         super(path, message);
     }
-
 }