commit | 986a47aa7c5c3d5e8549da636077ba6ff08bdd91 | [log] [tgz] |
---|---|---|
author | Ray Milkey <ray@opennetworking.org> | Thu Jan 25 11:38:51 2018 -0800 |
committer | Thomas Vachuska <tom@opennetworking.org> | Thu Feb 01 18:36:33 2018 +0000 |
tree | f23fa71badf1a9581aca24fb200e7ae256be6e82 | |
parent | 47432589c156324066f193702247e25da45ef58d [diff] |
SONAR suggestion - generic exceptions Replace uses of generic RuntimeException with more appropriate unchecked exceptions Change-Id: If283743c2cf7252b8d280bdb788708ebbe57da9d
diff --git a/core/store/dist/src/main/java/org/onosproject/store/cluster/messaging/impl/NettyMessagingManager.java b/core/store/dist/src/main/java/org/onosproject/store/cluster/messaging/impl/NettyMessagingManager.java index a5c5f3b..d7e478b 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/cluster/messaging/impl/NettyMessagingManager.java +++ b/core/store/dist/src/main/java/org/onosproject/store/cluster/messaging/impl/NettyMessagingManager.java
@@ -158,7 +158,7 @@ protected ClusterMetadataService clusterMetadataService; @Activate - public void activate() throws Exception { + public void activate() throws InterruptedException { ControllerNode localNode = clusterMetadataService.getLocalNode(); getTlsParameters(); @@ -179,7 +179,7 @@ } @Deactivate - public void deactivate() throws Exception { + public void deactivate() { if (started.get()) { serverGroup.shutdownGracefully(); clientGroup.shutdownGracefully();