aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.egit.core/src/org/eclipse/egit/core/op/UntrackOperation.java')
-rw-r--r--org.eclipse.egit.core/src/org/eclipse/egit/core/op/UntrackOperation.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/UntrackOperation.java b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/UntrackOperation.java
index 32a8c86..c763cfc 100644
--- a/org.eclipse.egit.core/src/org/eclipse/egit/core/op/UntrackOperation.java
+++ b/org.eclipse.egit.core/src/org/eclipse/egit/core/op/UntrackOperation.java
@@ -87,9 +87,9 @@ public class UntrackOperation implements IWorkspaceRunnable {
editor.commit();
}
} catch (RuntimeException e) {
- throw Activator.error(CoreText.UntrackOperation_failed, e);
+ throw new CoreException(Activator.error(CoreText.UntrackOperation_failed, e));
} catch (IOException e) {
- throw Activator.error(CoreText.UntrackOperation_failed, e);
+ throw new CoreException(Activator.error(CoreText.UntrackOperation_failed, e));
} finally {
for (final RepositoryMapping rm : mappings.keySet())
rm.fireRepositoryChanged();
@@ -114,7 +114,7 @@ public class UntrackOperation implements IWorkspaceRunnable {
try {
e = DirCache.lock(db).editor();
} catch (IOException err) {
- throw Activator.error(CoreText.UntrackOperation_failed, err);
+ throw new CoreException(Activator.error(CoreText.UntrackOperation_failed, err));
}
edits.put(db, e);
mappings.put(rm, rm);