Remove unused exceptions
[netconf.git] / netconf / netconf-impl / src / main / java / org / opendaylight / netconf / impl / osgi / NetconfSessionMonitoringService.java
index 72697ffebf1b69fc076b8ac6ca732afe61d5939b..da9a96b6d1de91f638c7ee85af1984925643ad59 100644 (file)
@@ -101,14 +101,14 @@ class NetconfSessionMonitoringService implements SessionListener, AutoCloseable
         }
         return new AutoCloseable() {
             @Override
-            public void close() throws Exception {
+            public void close() {
                 listeners.remove(listener);
             }
         };
     }
 
     @Override
-    public synchronized void close() throws Exception {
+    public synchronized void close() {
         stopUpdateSessionStats();
         listeners.clear();
         sessions.clear();