repositories
/
TD_SR.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use stderr where appropriate.
[TD_SR.git]
/
TD1
/
exo3
/
Consommateur.java
diff --git
a/TD1/exo3/Consommateur.java
b/TD1/exo3/Consommateur.java
index 480134976bcecd810a20ae7db3fdfbdfc4fb0eb4..06dd95db9dc89f2f1f46911bca0503b515c7d6ab 100644
(file)
--- a/
TD1/exo3/Consommateur.java
+++ b/
TD1/exo3/Consommateur.java
@@
-26,7
+26,9
@@
public class Consommateur implements Runnable {
try {
Thread.sleep(ThreadLocalRandom.current().nextInt(1001));
}
- catch (InterruptedException e) {}
+ catch (InterruptedException e) {
+ System.err.println("InterruptedException: " + e);
+ }
}
}