From: David ‘Bombe’ Roden Date: Wed, 10 Apr 2013 20:33:05 +0000 (+0200) Subject: Declare I/O exceptions to be thrown. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=08175c468743a152f741f5d0ce993d162de2e35e;p=xudocci.git Declare I/O exceptions to be thrown. --- 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);