Declare I/O exceptions to be thrown.
[xudocci.git] / 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);