X-Git-Url: https://git.piment-noir.org/?p=TD_SR.git;a=blobdiff_plain;f=TD1%2Fexo2%2FMain.java;h=5ad851b78c8e0d16c9e96b889055c431b0c6a9ae;hp=e97322de725a477bc812a1caf8f702102c81bb42;hb=ce28a0211974450cf5df46e2065fb39350e029ec;hpb=7293fe6dc670d5164859159aab339fa3a4750773 diff --git a/TD1/exo2/Main.java b/TD1/exo2/Main.java index e97322d..5ad851b 100644 --- a/TD1/exo2/Main.java +++ b/TD1/exo2/Main.java @@ -16,7 +16,7 @@ class Main { } catch (InterruptedException e) { // this part is executed when an exception (in this example InterruptedException) occurs - System.out.println("InterruptedException: " + e); + System.err.println("InterruptedException: " + e); } } System.out.println("Threads execution finished");