Revert "Remove usage of to-be-deprecated Throwables"
Guava snapshot is gone.
This reverts commit 8df8a2489d.
Change-Id: I1f6f40a824e39240d67da9b305bdc8144505e7bf
This commit is contained in:
committed by
Jonathan Nieder
parent
5ae08a229f
commit
e1767e5ad7
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user