Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2013-10-15 18:27:45 +0000
committerRyan D. Brooks2013-10-22 22:12:24 +0000
commit572141e9dd5d85360829c71b8e5770abcd91adf8 (patch)
tree5d28a8f3165cc44e36508c97648a3ba8464fac6f /plugins/org.eclipse.osee.framework.core.dsl.ui.integration
parent18128c4328289b303d7331370ea0e3c4ee6d3432 (diff)
downloadorg.eclipse.osee-572141e9dd5d85360829c71b8e5770abcd91adf8.tar.gz
org.eclipse.osee-572141e9dd5d85360829c71b8e5770abcd91adf8.tar.xz
org.eclipse.osee-572141e9dd5d85360829c71b8e5770abcd91adf8.zip
refactor: Convert OseeCoreException to a RuntimeException
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration')
-rw-r--r--plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/AbstractDslRenderer.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/AbstractDslRenderer.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/AbstractDslRenderer.java
index 77d491a6b92..3f231aed402 100644
--- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/AbstractDslRenderer.java
+++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/AbstractDslRenderer.java
@@ -19,7 +19,6 @@ import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import org.eclipse.core.resources.IFile;
-import org.eclipse.core.runtime.CoreException;
import org.eclipse.osee.framework.core.data.IArtifactType;
import org.eclipse.osee.framework.core.data.IOseeBranch;
import org.eclipse.osee.framework.core.dsl.ui.integration.internal.DslUiIntegrationConstants;
@@ -126,7 +125,7 @@ public abstract class AbstractDslRenderer extends FileSystemRenderer {
}
@Override
- public final void open(final List<Artifact> artifacts, final PresentationType presentationType) throws OseeCoreException {
+ public final void open(final List<Artifact> artifacts, final PresentationType presentationType) {
Displays.ensureInDisplayThread(new Runnable() {
@Override
@@ -140,7 +139,7 @@ public abstract class AbstractDslRenderer extends FileSystemRenderer {
IWorkbenchPage page = workbench.getActiveWorkbenchWindow().getActivePage();
IDE.openEditor(page, file);
}
- } catch (CoreException ex) {
+ } catch (Exception ex) {
OseeLog.log(DslUiIntegrationConstants.class, OseeLevel.SEVERE_POPUP, ex);
}
}

Back to the top