Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraradermache2013-06-25 15:00:27 +0000
committeraradermache2013-06-25 15:00:27 +0000
commit642b4963328fa2f0fdb3dd3b3359cbcadd05f8a7 (patch)
treefb4cd0b894ee198a60b6b984b8aec641962c73b0 /extraplugins/qompass-designer/tracing
parentc72a9a12d2dda0437443540dc4849c7037c266b0 (diff)
downloadorg.eclipse.papyrus-642b4963328fa2f0fdb3dd3b3359cbcadd05f8a7.tar.gz
org.eclipse.papyrus-642b4963328fa2f0fdb3dd3b3359cbcadd05f8a7.tar.xz
org.eclipse.papyrus-642b4963328fa2f0fdb3dd3b3359cbcadd05f8a7.zip
- Cleanup - removed "System.err.println" and moved images into "figs" sub-folders
- Some preparation for "C" language support
Diffstat (limited to 'extraplugins/qompass-designer/tracing')
-rw-r--r--extraplugins/qompass-designer/tracing/org.eclipse.papyrus.infra.services.tracepoints/src/org/eclipse/papyrus/infra/services/tracepoints/MarkerUtils.java2
-rw-r--r--extraplugins/qompass-designer/tracing/org.eclipse.papyrus.infra.services.tracepoints/src/org/eclipse/papyrus/infra/services/tracepoints/commands/AbstractTracepointCommand.java3
2 files changed, 2 insertions, 3 deletions
diff --git a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.infra.services.tracepoints/src/org/eclipse/papyrus/infra/services/tracepoints/MarkerUtils.java b/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.infra.services.tracepoints/src/org/eclipse/papyrus/infra/services/tracepoints/MarkerUtils.java
index 536728ff1ff..18a1e6520e1 100644
--- a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.infra.services.tracepoints/src/org/eclipse/papyrus/infra/services/tracepoints/MarkerUtils.java
+++ b/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.infra.services.tracepoints/src/org/eclipse/papyrus/infra/services/tracepoints/MarkerUtils.java
@@ -65,7 +65,7 @@ public class MarkerUtils {
pResourceSet.getResource(uriOfMarker.trimFragment(), true);
return pResourceSet.getEObject(uriOfMarker, true);
} catch (MissingResourceException e) {
- System.err.println("Missing resource");
+ throw new RuntimeException("MarkerUtils.getEObjectOfMarker: " + e.getMessage()); //$NON-NLS-1$
}
}
return null;
diff --git a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.infra.services.tracepoints/src/org/eclipse/papyrus/infra/services/tracepoints/commands/AbstractTracepointCommand.java b/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.infra.services.tracepoints/src/org/eclipse/papyrus/infra/services/tracepoints/commands/AbstractTracepointCommand.java
index 1aaf94e276c..5f6758a19f8 100644
--- a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.infra.services.tracepoints/src/org/eclipse/papyrus/infra/services/tracepoints/commands/AbstractTracepointCommand.java
+++ b/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.infra.services.tracepoints/src/org/eclipse/papyrus/infra/services/tracepoints/commands/AbstractTracepointCommand.java
@@ -147,9 +147,8 @@ abstract public class AbstractTracepointCommand extends AbstractTransactionalCom
}
}
} catch (CoreException ce) {
- System.err.println(ce);
+ throw new RuntimeException (ce);
}
-
}
/**

Back to the top