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);
}
}