X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnetconf%2Fnetconf-mapping-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Fmapping%2Fapi%2FNetconfOperationChainedExecution.java;h=e474422cec317f8dfc390912e1f0ff10843d0b91;hb=refs%2Fchanges%2F13%2F23413%2F26;hp=4013d623bd4c1dc1e891cd230fcb1b260c0f1ad6;hpb=12204729ecaa1d1862a580cc6282eceacd21efe2;p=controller.git diff --git a/opendaylight/netconf/netconf-mapping-api/src/main/java/org/opendaylight/controller/netconf/mapping/api/NetconfOperationChainedExecution.java b/opendaylight/netconf/netconf-mapping-api/src/main/java/org/opendaylight/controller/netconf/mapping/api/NetconfOperationChainedExecution.java index 4013d623bd..e474422cec 100644 --- a/opendaylight/netconf/netconf-mapping-api/src/main/java/org/opendaylight/controller/netconf/mapping/api/NetconfOperationChainedExecution.java +++ b/opendaylight/netconf/netconf-mapping-api/src/main/java/org/opendaylight/controller/netconf/mapping/api/NetconfOperationChainedExecution.java @@ -7,7 +7,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; /** @@ -26,7 +26,7 @@ public interface NetconfOperationChainedExecution { /** * Do not execute if this is termination point */ - Document execute(Document requestMessage) throws NetconfDocumentedException; + Document execute(Document requestMessage) throws DocumentedException; public static final NetconfOperationChainedExecution EXECUTION_TERMINATION_POINT = new NetconfOperationChainedExecution() { @Override @@ -35,7 +35,7 @@ public interface NetconfOperationChainedExecution { } @Override - public Document execute(Document requestMessage) throws NetconfDocumentedException { + public Document execute(Document requestMessage) throws DocumentedException { throw new IllegalStateException("This execution represents the termination point in operation execution and cannot be executed itself"); } };