TD2: Be more informative at exception catching.
[TD_SR.git] / TD2 / client / SocketClient.java
index 3c6d021c605f3a22a7d9537d8f1bf830a28854f7..75c04703064caf9ff2ecc9a8ea5c958b84708993 100644 (file)
@@ -18,6 +18,7 @@ public class SocketClient {
         }
         catch (IOException e) {
             System.err.println("IOException: " + e);
+            e.printStackTrace();
             closeRWIO();
         }
     }
@@ -31,6 +32,7 @@ public class SocketClient {
         }
         catch (IOException e) {
             System.err.println("IOException: " + e);
+            e.printStackTrace();
             closeRWIO();
         }
     }
@@ -115,6 +117,7 @@ public class SocketClient {
         }
         catch (IOException e) {
             System.err.println("IOException: " + e);
+            e.printStackTrace();
         }
     }