Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-08-23 16:18:28 +0000
committerrbrooks2010-08-23 16:18:28 +0000
commita55670f374ce8bde07c3b0a56be6892e8420bf41 (patch)
treec716ddb1a3d86cfacae4bbcf71231df1e13eb426 /plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src
parent22a3db7bdb2c5a3c90ed89a21f93ac8340405dd3 (diff)
downloadorg.eclipse.osee-a55670f374ce8bde07c3b0a56be6892e8420bf41.tar.gz
org.eclipse.osee-a55670f374ce8bde07c3b0a56be6892e8420bf41.tar.xz
org.eclipse.osee-a55670f374ce8bde07c3b0a56be6892e8420bf41.zip
removed unnecessary try catch block from XtextOseeTypesHandler
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src')
-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