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