Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Sewe2016-09-08 11:46:32 +0000
committerAndreas Sewe2016-09-08 12:35:39 +0000
commit1f2340995fb730cf776b47ee4b84a45469c5e392 (patch)
tree1c2f11929a88dd3cc316f720791244c96097b7e3 /bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime
parentfef33690b9c5b85c608f5466aeede64a8c18b9b7 (diff)
downloadrt.equinox.framework-1f2340995fb730cf776b47ee4b84a45469c5e392.tar.gz
rt.equinox.framework-1f2340995fb730cf776b47ee4b84a45469c5e392.tar.xz
rt.equinox.framework-1f2340995fb730cf776b47ee4b84a45469c5e392.zip
Change-Id: I8e8dde9b777054ea62c5e6d0ce38191d50bf8c92 Signed-off-by: Andreas Sewe <andreas.sewe@codetrails.com>
Diffstat (limited to 'bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime')
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/internal/adaptor/DefaultStartupMonitor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/internal/adaptor/DefaultStartupMonitor.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/internal/adaptor/DefaultStartupMonitor.java
index 7ea943a64..46083640d 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/internal/adaptor/DefaultStartupMonitor.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/core/runtime/internal/adaptor/DefaultStartupMonitor.java
@@ -36,10 +36,10 @@ public class DefaultStartupMonitor implements StartupMonitor {
try {
updateMethod = splashHandler.getClass().getMethod("updateSplash", (Class[]) null); //$NON-NLS-1$
} catch (SecurityException e) {
- throw (IllegalStateException) new IllegalStateException(e.getMessage()).initCause(e);
+ throw new IllegalStateException(e.getMessage(), e);
} catch (NoSuchMethodException e) {
//TODO maybe we could do something else in the update method in this case, like print something to the console?
- throw (IllegalStateException) new IllegalStateException(e.getMessage()).initCause(e);
+ throw new IllegalStateException(e.getMessage(), e);
}
}

Back to the top