Remove unused exceptions
[netconf.git] / netconf / sal-netconf-connector / src / main / java / org / opendaylight / netconf / sal / connect / netconf / sal / NetconfDeviceSalProvider.java
index f4b44d9bc453b6742d2a41446e0be3350ea8bb23..b24eb89c9927bcc3da6d7dcd1b8bcc4405de9e75 100644 (file)
@@ -91,7 +91,7 @@ public class NetconfDeviceSalProvider implements AutoCloseable {
     }
 
     @Override
-    public void close() throws Exception {
+    public void close() {
         mountInstance.close();
         if (topologyDatastoreAdapter != null) {
             topologyDatastoreAdapter.close();
@@ -154,7 +154,7 @@ public class NetconfDeviceSalProvider implements AutoCloseable {
         }
 
         @Override
-        public synchronized void close() throws Exception {
+        public synchronized void close() {
             onTopologyDeviceDisconnected();
         }