mirror of
https://github.com/processing/processing4.git
synced 2026-01-26 01:41:06 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user