Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee')
-rw-r--r--plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/XtextOseeTypesHandler.java12
1 files changed, 3 insertions, 9 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/XtextOseeTypesHandler.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/XtextOseeTypesHandler.java
index c322b347557..966955dd9bb 100644
--- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/XtextOseeTypesHandler.java
+++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/operations/XtextOseeTypesHandler.java
@@ -14,7 +14,6 @@ import java.net.URI;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.osee.framework.core.dsl.ui.integration.internal.Activator;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
-import org.eclipse.osee.framework.core.exception.OseeExceptions;
import org.eclipse.osee.framework.core.operation.IOperation;
import org.eclipse.osee.framework.core.operation.Operations;
import org.eclipse.osee.framework.core.services.IOseeCachingService;
@@ -28,18 +27,13 @@ public class XtextOseeTypesHandler implements IOseeTypesHandler {
@Override
public void execute(IProgressMonitor monitor, URI uri) throws OseeCoreException {
- try {
- IOseeCachingService cacheService = Activator.getOseeCacheService();
- IOperation operation = new OseeTypesImportOperation(cacheService, uri, false, false, true);
- Operations.executeWorkAndCheckStatus(operation, monitor);
- } catch (Exception ex) {
- OseeExceptions.wrapAndThrow(ex);
- }
+ IOseeCachingService cacheService = Activator.getOseeCacheService();
+ IOperation operation = new OseeTypesImportOperation(cacheService, uri, false, false, true);
+ Operations.executeWorkAndCheckStatus(operation, monitor);
}
@Override
public boolean isApplicable(String resource) {
return Strings.isValid(resource) && resource.endsWith(".osee");
}
-
}

Back to the top