Declare I/O exceptions to be thrown.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 10 Apr 2013 20:33:05 +0000 (22:33 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 10 Apr 2013 20:33:05 +0000 (22:33 +0200)
src/main/java/net/pterodactylus/irc/DccReceiver.java

index 88d3b64..58dae01 100644 (file)
@@ -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);