aboutsummaryrefslogtreecommitdiff
path: root/guava/src/com/google/common/util/concurrent/Monitor.java
diff options
context:
space:
mode:
Diffstat (limited to 'guava/src/com/google/common/util/concurrent/Monitor.java')
-rw-r--r--guava/src/com/google/common/util/concurrent/Monitor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/guava/src/com/google/common/util/concurrent/Monitor.java b/guava/src/com/google/common/util/concurrent/Monitor.java
index 2ed31eda4..1abbc6405 100644
--- a/guava/src/com/google/common/util/concurrent/Monitor.java
+++ b/guava/src/com/google/common/util/concurrent/Monitor.java
@@ -1123,7 +1123,8 @@ public final class Monitor {
private boolean isSatisfied(Guard guard) {
try {
return guard.isSatisfied();
- } catch (RuntimeException | Error throwable) {
+ } catch (Throwable throwable) {
+ // Any Exception is either a RuntimeException or sneaky checked exception.
signalAllWaiters();
throw throwable;
}