From 08175c468743a152f741f5d0ce993d162de2e35e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 10 Apr 2013 22:33:05 +0200 Subject: [PATCH] Declare I/O exceptions to be thrown. --- src/main/java/net/pterodactylus/irc/DccReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/irc/DccReceiver.java b/src/main/java/net/pterodactylus/irc/DccReceiver.java index 88d3b64..58dae01 100644 --- a/src/main/java/net/pterodactylus/irc/DccReceiver.java +++ b/src/main/java/net/pterodactylus/irc/DccReceiver.java @@ -143,7 +143,7 @@ public class DccReceiver extends AbstractExecutionThreadService { // @Override - protected void run() throws Exception { + protected void run() throws IOException { Socket socket = null; try { socket = new Socket(inetAddress, port); -- 2.7.4