Drop unused exceptions in qosservice 33/68533/2
authorStephen Kitt <skitt@redhat.com>
Thu, 22 Feb 2018 18:58:07 +0000 (19:58 +0100)
committerSam Hague <shague@redhat.com>
Fri, 23 Feb 2018 15:20:31 +0000 (15:20 +0000)
Change-Id: Iec3c5969cf736206f7f294bd08657e8fd3e2d087
Signed-off-by: Stephen Kitt <skitt@redhat.com>
qosservice/impl/src/main/java/org/opendaylight/netvirt/qosservice/QosAlertEnableCLI.java
qosservice/impl/src/main/java/org/opendaylight/netvirt/qosservice/QosAlertPollIntervalCLI.java
qosservice/impl/src/main/java/org/opendaylight/netvirt/qosservice/QosAlertThresholdCLI.java

index a319f80079eac34d211b1aca4407a8f873e323f9..febe1e51fcb229be7b634892b765ad671d3afba6 100644 (file)
@@ -33,7 +33,7 @@ public class QosAlertEnableCLI extends OsgiCommandSupport {
     }
 
     @Override
-    protected Object doExecute() throws Exception {
+    protected Object doExecute() {
         LOG.debug("Setting poll enable in qos alert manager:{}", value);
         qosAlertManager.setEnable(Boolean.parseBoolean(value));
         return null;
index db3659641f7ac27b0f0f47ccdb7037203ac3e1d8..76d38890ab09bc72ee2e503002a31fd5f59de8ab 100644 (file)
@@ -31,7 +31,7 @@ public class QosAlertPollIntervalCLI extends OsgiCommandSupport {
     }
 
     @Override
-    protected Object doExecute() throws Exception {
+    protected Object doExecute() {
         LOG.debug("setting threshold in qos alert manager:{}", interval);
         qosAlertManager.setPollInterval(Integer.parseInt(interval));
         return null;
index 6db027239c6c2afcfd9ce84a1483595842a4499f..8132676fc7f58edd8f43c5145e5390a82000999e 100644 (file)
@@ -31,7 +31,7 @@ public class QosAlertThresholdCLI extends OsgiCommandSupport {
     }
 
     @Override
-    protected Object doExecute() throws Exception {
+    protected Object doExecute() {
         LOG.debug("setting threshold in qos alert manager:{}", threshold);
         qosAlertManager.setThreshold(Short.parseShort(threshold));
         return null;