Drop unused exceptions in dhcpservice 27/68527/2
authorStephen Kitt <skitt@redhat.com>
Thu, 22 Feb 2018 18:58:05 +0000 (19:58 +0100)
committerSam Hague <shague@redhat.com>
Fri, 23 Feb 2018 15:19:46 +0000 (15:19 +0000)
Change-Id: I61412d7d2bc2838b0be928ff9f1761f977e33c87
Signed-off-by: Stephen Kitt <skitt@redhat.com>
dhcpservice/impl/src/main/java/org/opendaylight/netvirt/dhcpservice/DhcpAllocationPoolManager.java
dhcpservice/impl/src/main/java/org/opendaylight/netvirt/dhcpservice/DhcpManager.java
dhcpservice/impl/src/main/java/org/opendaylight/netvirt/dhcpservice/jobs/DhcpInterfaceUpdateJob.java

index a06153acd9db6e5b0e266bdcbe51efbc7c867d6b..70cff39553ea7ccf90934619fbaac8d4b7bc2781 100644 (file)
@@ -83,7 +83,7 @@ public class DhcpAllocationPoolManager implements AutoCloseable, EventListener {
 
     @Override
     @PreDestroy
-    public void close() throws Exception {
+    public void close() {
         LOG.info("{} close", getClass().getSimpleName());
         if (dhcpAllocationPoolListener != null) {
             dhcpAllocationPoolListener.close();
index 6f0f7616f7a0ac388a9f64dabf57a47f083fcacd..9dfeaadb37c8f1d7a315e953cbd73d3f9d06b480 100644 (file)
@@ -91,7 +91,7 @@ public class DhcpManager {
     }
 
     @PreDestroy
-    public void close() throws Exception {
+    public void close() {
         if (dhcpInterfaceEventListener != null) {
             dhcpInterfaceEventListener.close();
         }
index e5c81eca7f828a4f5ded47fb84f4ed187fb99152..bd069d0147b69f15f02834ea41ac52e6dfd5f6ac 100644 (file)
@@ -45,7 +45,7 @@ public class DhcpInterfaceUpdateJob implements Callable<List<ListenableFuture<Vo
     }
 
     @Override
-    public List<ListenableFuture<Void>> call() throws Exception {
+    public List<ListenableFuture<Void>> call() {
         org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface iface =
                 interfaceManager.getInterfaceInfoFromConfigDataStore(interfaceName);
         if (iface == null) {