From 0163676f1a3c638e6a90994a8f316327e34192ef Mon Sep 17 00:00:00 2001 From: dmyur <dmyur@DESKTOP-RQ0BRDK> Date: Mon, 22 Jul 2019 10:04:04 -0700 Subject: [PATCH] Deleted YURKOVICH HW2 that was in the wrong folder --- .../homework1/YURKOVICH_TcpExample1Telnet.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/assignments/src/MV3500Cohort2019JulySeptember/homework1/YURKOVICH_TcpExample1Telnet.java b/assignments/src/MV3500Cohort2019JulySeptember/homework1/YURKOVICH_TcpExample1Telnet.java index 46f084a5d5..ed463f87fc 100644 --- a/assignments/src/MV3500Cohort2019JulySeptember/homework1/YURKOVICH_TcpExample1Telnet.java +++ b/assignments/src/MV3500Cohort2019JulySeptember/homework1/YURKOVICH_TcpExample1Telnet.java @@ -64,7 +64,11 @@ public class YURKOVICH_TcpExample1Telnet } catch(IOException e) { - System.out.println("problem with networking: " + e); + System.out.println("Problem with TcpExample1Telnet networking:"); // describe what is happening + System.out.println("Error: " + e); + // Provide more helpful information to user if exception occurs due to running twice at one time + if (e instanceof java.net.BindException) + System.out.println("*** Be sure to stop any other running instances of programs using this port!"); } } } -- GitLab