Drop unused exceptions in ipv6service 30/68530/2
authorStephen Kitt <skitt@redhat.com>
Thu, 22 Feb 2018 18:58:06 +0000 (19:58 +0100)
committerSam Hague <shague@redhat.com>
Fri, 23 Feb 2018 15:20:02 +0000 (15:20 +0000)
Change-Id: I7e8018a36308b193bf2c5d082e692777e787f99b
Signed-off-by: Stephen Kitt <skitt@redhat.com>
ipv6service/impl/src/main/java/org/opendaylight/netvirt/ipv6service/Ipv6PktHandler.java
ipv6service/impl/src/main/java/org/opendaylight/netvirt/ipv6service/utils/Ipv6PeriodicTimer.java
ipv6service/shell/src/main/java/org/opendaylight/netvirt/ipv6service/shell/ShowIpv6Command.java

index bee6376c1db47efe490d61faee3876b082a99fac..e5d11c79c07ce2f6373886d798f968a08ea3c8fe 100644 (file)
@@ -387,7 +387,7 @@ public class Ipv6PktHandler implements AutoCloseable, PacketProcessingListener {
 
     @Override
     @PreDestroy
-    public void close() throws Exception {
+    public void close() {
         packetProcessor.shutdown();
     }
 }
index 322efa2d6afe2a6919cd6bf47ef41ee5c44f7996..470a7b46bb50164837bb59de1fac3007186f4f58 100644 (file)
@@ -22,7 +22,7 @@ public class Ipv6PeriodicTimer implements TimerTask {
     }
 
     @Override
-    public void run(Timeout timeout) throws Exception {
+    public void run(Timeout timeout) {
         ipv6Queue.addMessage(portId);
     }
 }
index a1b6e2d1b4d09d10a785bf19296a87c328f64719..1db6537fd5cfd7c9a5d6875730635708f9207b01 100644 (file)
@@ -42,7 +42,7 @@ public class ShowIpv6Command extends OsgiCommandSupport {
     }
 
     @Override
-    protected Object doExecute() throws Exception {
+    protected Object doExecute() {
         TablePrinter tp = new TablePrinter();
 
         if (listResource != null) {