From fd7767ccda80823c077cdc3701166b319d0bd078 Mon Sep 17 00:00:00 2001 From: norman Date: Wed, 6 Jun 2012 07:52:46 +0200 Subject: [PATCH] Fix example --- .../main/java/io/netty/example/securechat/SecureChatServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/src/main/java/io/netty/example/securechat/SecureChatServer.java b/example/src/main/java/io/netty/example/securechat/SecureChatServer.java index 6dad10855d..19a9dac27f 100644 --- a/example/src/main/java/io/netty/example/securechat/SecureChatServer.java +++ b/example/src/main/java/io/netty/example/securechat/SecureChatServer.java @@ -31,7 +31,7 @@ public class SecureChatServer { this.port = port; } - public void run() { + public void run() throws InterruptedException { ServerBootstrap b = new ServerBootstrap(); try { b.eventLoop(new NioEventLoop(), new NioEventLoop())