Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStéphane Bégaudeau2017-01-11 15:33:18 +0000
committerStéphane Bégaudeau2017-01-11 15:33:18 +0000
commitc22e6ab7d995bd02809bf95b0c3199467b18391d (patch)
treeb6ee9bc679c8e5c37a67f32cd4357548c1fdb776
parent2bc83815ae132fd2e9814d032af4cebc61e8ab9c (diff)
downloadorg.eclipse.eef-c22e6ab7d995bd02809bf95b0c3199467b18391d.tar.gz
org.eclipse.eef-c22e6ab7d995bd02809bf95b0c3199467b18391d.tar.xz
org.eclipse.eef-c22e6ab7d995bd02809bf95b0c3199467b18391d.zip
[510278] Keep the exception when logging a status
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510278 Change-Id: I7516bb5d52c1beb9281c68d4311718efeac67c6d Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
-rw-r--r--plugins/org.eclipse.eef.common/src/org/eclipse/eef/common/api/AbstractEEFEclipsePlugin.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.eef.common/src/org/eclipse/eef/common/api/AbstractEEFEclipsePlugin.java b/plugins/org.eclipse.eef.common/src/org/eclipse/eef/common/api/AbstractEEFEclipsePlugin.java
index c40f9c280..003b1e8e1 100644
--- a/plugins/org.eclipse.eef.common/src/org/eclipse/eef/common/api/AbstractEEFEclipsePlugin.java
+++ b/plugins/org.eclipse.eef.common/src/org/eclipse/eef/common/api/AbstractEEFEclipsePlugin.java
@@ -71,8 +71,8 @@ public abstract class AbstractEEFEclipsePlugin extends EclipsePlugin {
* The structural feature representing the expression
*/
public void blank(EAttribute expression) {
- String message = MessageFormat.format(Messages.AbstractEEFEclipsePlugin_BlankExpression, expression.getName(), expression
- .getEContainingClass().getName());
+ String message = MessageFormat.format(Messages.AbstractEEFEclipsePlugin_BlankExpression, expression.getName(),
+ expression.getEContainingClass().getName());
this.error(message);
}
@@ -102,7 +102,7 @@ public abstract class AbstractEEFEclipsePlugin extends EclipsePlugin {
}
String message = MessageFormat.format(Messages.AbstractEEFEclipsePlugin_InvalidEvaluation, expression, messageToLog);
- IStatus status = new Status(diagnostic.getSeverity(), this.bundleSymbolicName, message);
+ IStatus status = new Status(diagnostic.getSeverity(), this.bundleSymbolicName, message, diagnostic.getException());
this.getLog().log(status);
}

Back to the top