Skip to content

Commit

Permalink
Use throwIfUnchecked to resolve deprecation.
Browse files Browse the repository at this point in the history
Use throwIfUnchecked to resolve deprecation.

propagateIfPossible is scheduled to be removed in July 2018.
  • Loading branch information
joshbruning committed Feb 23, 2017
1 parent 72fb2e5 commit d55f20b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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())) {
Expand Down

0 comments on commit d55f20b

Please sign in to comment.