ONOS-395 - tighten up exception handling

Change-Id: Ice3ee55adacbd890100def5d9da44c6e2a770945
diff --git a/utils/netty/src/main/java/org/onlab/netty/NettyMessagingService.java b/utils/netty/src/main/java/org/onlab/netty/NettyMessagingService.java
index 52fa4d6..ae646b6 100644
--- a/utils/netty/src/main/java/org/onlab/netty/NettyMessagingService.java
+++ b/utils/netty/src/main/java/org/onlab/netty/NettyMessagingService.java
@@ -113,12 +113,12 @@
         try {
             localEp = new Endpoint(java.net.InetAddress.getLocalHost().getHostName(), port);
         } catch (UnknownHostException e) {
-            // bailing out.
-            throw new RuntimeException(e);
+            // Cannot resolve the local host, something is very wrong. Bailing out.
+            throw new IllegalStateException("Cannot resolve local host", e);
         }
     }
 
-    public void activate() throws Exception {
+    public void activate() throws InterruptedException {
         channels.setTestOnBorrow(true);
         channels.setTestOnReturn(true);
         initEventLoopGroup();