Decouple config and netconf subsystems.
[controller.git] / opendaylight / netconf / netconf-mapping-api / src / main / java / org / opendaylight / controller / netconf / mapping / api / NetconfOperation.java
index c7298cbf1e4ae42e91976868cc93851c77bf8f7b..00b3124e7f19076b96ddadae22c0599228c75783 100644 (file)
@@ -8,7 +8,7 @@
 
 package org.opendaylight.controller.netconf.mapping.api;
 
-import org.opendaylight.controller.netconf.api.NetconfDocumentedException;
+import org.opendaylight.controller.config.util.xml.DocumentedException;
 import org.w3c.dom.Document;
 
 /**
@@ -33,7 +33,7 @@ public interface NetconfOperation {
      * @param requestMessage
      * @return
      */
-    HandlingPriority canHandle(Document message) throws NetconfDocumentedException;
+    HandlingPriority canHandle(Document message) throws DocumentedException;
 
     /**
      * Execute current netconf operation and trigger execution of subsequent
@@ -46,8 +46,8 @@ public interface NetconfOperation {
      * @param subsequentOperation
      *            execution of subsequent netconf operation
      * @return
-     * @throws NetconfDocumentedException
+     * @throws DocumentedException
      */
     Document handle(Document requestMessage, NetconfOperationChainedExecution subsequentOperation)
-            throws NetconfDocumentedException;
+            throws DocumentedException;
 }