We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 106b6a1 commit 58be507Copy full SHA for 58be507
client/ClientThread.java
@@ -84,6 +84,10 @@ public void run() {
84
System.err.println("Unknown host: " + hostName);
85
System.exit(1);
86
}
87
+ catch (ConnectException e) {
88
+ System.err.println("Connection refused by host: " + hostName);
89
+ System.exit(1);
90
+ }
91
catch (IOException e) {
92
e.printStackTrace();
93
0 commit comments