Revert "Remove usage of to-be-deprecated Throwables"

Guava snapshot is gone.

This reverts commit 8df8a2489d.

Change-Id: I1f6f40a824e39240d67da9b305bdc8144505e7bf
This commit is contained in:
Dave Borowitz
2016-08-25 00:04:52 +00:00
committed by Jonathan Nieder
parent 5ae08a229f
commit e1767e5ad7
17 changed files with 21 additions and 21 deletions

View File

@@ -97,7 +97,7 @@ public class AliasCommand extends BaseCommand {
try {
cmd.destroy();
} catch (Exception e) {
Throwables.throwIfUnchecked(e);
Throwables.propagateIfPossible(e);
throw new RuntimeException(e);
}
}

View File

@@ -136,7 +136,7 @@ final class DispatchCommand extends BaseCommand {
try {
cmd.destroy();
} catch (Exception e) {
Throwables.throwIfUnchecked(e);
Throwables.propagateIfPossible(e);
throw new RuntimeException(e);
}
}

View File

@@ -153,7 +153,7 @@ public final class SuExec extends BaseCommand {
try {
cmd.destroy();
} catch (Exception e) {
Throwables.throwIfUnchecked(e);
Throwables.propagateIfPossible(e);
throw new RuntimeException(e);
}
}