We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25bdf6e commit c7f65f8Copy full SHA for c7f65f8
java/src/org/openqa/selenium/support/ui/FluentWait.java
@@ -17,7 +17,6 @@
17
18
package org.openqa.selenium.support.ui;
19
20
-import com.google.common.base.Throwables;
21
import java.time.Clock;
22
import java.time.Duration;
23
import java.time.Instant;
@@ -244,7 +243,12 @@ private Throwable propagateIfNotIgnored(Throwable e) {
244
243
return e;
245
}
246
247
- Throwables.throwIfUnchecked(e);
+ if (e instanceof Error) {
+ throw (Error) e;
248
+ }
249
+ if (e instanceof RuntimeException) {
250
+ throw (RuntimeException) e;
251
252
throw new RuntimeException(e);
253
254
0 commit comments