Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Correction of some messages and comments.
[jaceP2P.git] / src / jaceP2P / JaceSession.java
index 48c3881..ae36e6b 100644 (file)
@@ -51,17 +51,17 @@ public class JaceSession {
                        System.out.println("I m going to kill the thread");
                        // taskThread.join();
                        taskThread.stop();
-                       System.out.println("thread stopped without pb!!!!!!!");
+                       System.out.println("Thread stopped without problem.");
                        taskThread = null;
                } catch (Exception e) {
-                       System.out.println("ERROR : thread not join : " + e);
-                       System.out.println("I m going to kill the thread");
+                       System.err.println("ERROR : thread not join : " + e);
+                       System.err.println("I m going to kill the thread");
                        try {
                                taskThread.stop();
-                               System.out.println("thread stopped after a problem !!!!!!!");
+                               System.out.println("Thread stopped after a problem !");
                                taskThread = null;
                        } catch (Exception e2) {
-                               System.out.println("ERROR thread not killed : " + e);
+                               System.err.println("ERROR thread not killed : " + e);
                        }
 
                }