| Index: editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/util/ExecutionUtils.java
|
| diff --git a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/util/ExecutionUtils.java b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/util/ExecutionUtils.java
|
| index f119a239d48877d440dd4858561dfb679fb518ca..03bc21d2a0cdfdc8e340e15fa414a3680706c15d 100644
|
| --- a/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/util/ExecutionUtils.java
|
| +++ b/editor/tools/plugins/com.google.dart.tools.ui/src/com/google/dart/tools/internal/corext/refactoring/util/ExecutionUtils.java
|
| @@ -130,6 +130,17 @@ public class ExecutionUtils {
|
| }
|
|
|
| /**
|
| + * Runs given {@link RunnableEx} and re-throws any exceptions without declaring it.
|
| + */
|
| + public static void runRethrow(RunnableEx runnable) {
|
| + try {
|
| + runnable.run();
|
| + } catch (Throwable e) {
|
| + propagate(e);
|
| + }
|
| + }
|
| +
|
| + /**
|
| * Runs given {@link RunnableEx} and re-throws exceptions as {@link CoreException}.
|
| */
|
| public static void runRethrowCore(RunnableEx runnable) throws CoreException {
|
|
|