e.printStackTrace();
}
catch (ClassNotFoundException e) {
- System.err.println("ClassNotFoundException: " + e);
+ System.err.println("ClassNotFoundException: " + e);
e.printStackTrace();
}
finally {
end = true; // le thread de service doit terminer
break; // do not broadcast the dot that will close all clients threads
}
+ System.out.println("Broadcasting the message \"" + roMsg + "\" received from " + clientSocket.toString());
broadcastoMsg(roMsg);
}
sharedList.remove(OWriter);