Use throwIfUnchecked to resolve deprecation.
Use throwIfUnchecked to resolve deprecation.
propagateIfPossible is scheduled to be removed in July 2018.
@@ -87,7 +87,7 @@ public Response execute(Command command) throws IOException {
!service.isRunning()) {
throw new WebDriverException("The driver server has unexpectedly died!", t);
}
- Throwables.propagateIfPossible(t);
+ Throwables.throwIfUnchecked(t);
throw new WebDriverException(t);
} finally {
if (DriverCommand.QUIT.equals(command.getName())) {
