Merge "Add some unimplemented proxy classes related to DOMStore"
[controller.git] / opendaylight / md-sal / sal-dom-broker / src / main / java / org / opendaylight / controller / md / sal / dom / store / impl / tree / DataTree.java
index 01e2a29e4e9ee78ac13fc2eb16227b315bda999b..4807e15653d017fa9f341f8a6afc4cf6a9191c61 100644 (file)
@@ -13,26 +13,26 @@ import org.opendaylight.yangtools.yang.model.api.SchemaContext;
  * Interface representing a data tree which can be modified in an MVCC fashion.
  */
 public interface DataTree {
-       /**
-        * Take a read-only point-in-time snapshot of the tree.
-        *
-        * @return Data tree snapshot.
-        */
-       DataTreeSnapshot takeSnapshot();
+    /**
+     * Take a read-only point-in-time snapshot of the tree.
+     *
+     * @return Data tree snapshot.
+     */
+    DataTreeSnapshot takeSnapshot();
 
-       /**
-        * Make the data tree use a new schema context. The context will be used
-        * only by subsequent operations.
-        *
-        * @param newSchemaContext new SchemaContext
-        * @throws IllegalArgumentException if the new context is incompatible
-        */
+    /**
+     * Make the data tree use a new schema context. The context will be used
+     * only by subsequent operations.
+     *
+     * @param newSchemaContext new SchemaContext
+     * @throws IllegalArgumentException if the new context is incompatible
+     */
     void setSchemaContext(SchemaContext newSchemaContext);
 
     /**
      * Validate whether a particular modification can be applied to the data tree.
      */
-    void validate(DataTreeModification modification) throws DataPreconditionFailedException;
+    void validate(DataTreeModification modification) throws DataValidationFailedException;
 
     /**
      * Prepare a modification for commit.