Net-client: remove extra catch block

Handled by IOException block (it's a superclass of ConnectException and does the same thing).
This commit is contained in:
Jakub Valtar
2018-01-21 22:01:42 +01:00
parent 0e12d1175e
commit f76d3c4f80

View File

@@ -107,10 +107,6 @@ public class Client implements Runnable {
// no such method, or an error.. which is fine, just ignore
}
} catch (ConnectException ce) {
ce.printStackTrace();
dispose();
} catch (IOException e) {
e.printStackTrace();
dispose();