Skip to content

Commit f76d3c4

Browse files
committed
Net-client: remove extra catch block
Handled by IOException block (it's a superclass of ConnectException and does the same thing).
1 parent 0e12d11 commit f76d3c4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

java/libraries/net/src/processing/net/Client.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ public Client(PApplet parent, String host, int port) {
107107
// no such method, or an error.. which is fine, just ignore
108108
}
109109

110-
} catch (ConnectException ce) {
111-
ce.printStackTrace();
112-
dispose();
113-
114110
} catch (IOException e) {
115111
e.printStackTrace();
116112
dispose();

0 commit comments

Comments
 (0)