X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.ui%2Fsrc%2Forg%2Fsimantics%2Fui%2Fworkbench%2Fhandler%2Fe4%2FSessionUndoHandler.java;h=bccedb364a7a7177a3c530b3b382b7fcaf14a190;hp=dd931e77ee3a503128abe673de6a6b686f2f7313;hb=96bb7ef9cbe42d82eb58306;hpb=ae5bb63c5c88f6569518fed2a24df86fbd0570ff diff --git a/bundles/org.simantics.ui/src/org/simantics/ui/workbench/handler/e4/SessionUndoHandler.java b/bundles/org.simantics.ui/src/org/simantics/ui/workbench/handler/e4/SessionUndoHandler.java index dd931e77e..bccedb364 100644 --- a/bundles/org.simantics.ui/src/org/simantics/ui/workbench/handler/e4/SessionUndoHandler.java +++ b/bundles/org.simantics.ui/src/org/simantics/ui/workbench/handler/e4/SessionUndoHandler.java @@ -116,7 +116,7 @@ public class SessionUndoHandler { manager.setMessage(msg.get()); // statusManager.setMessage( msg.get() ); } catch (InvocationTargetException e1) { - throw new ExecutionException("Undo failed, database failure.", e1); + throw new ExecutionException("Undo failed, database failure.", e1.getCause()); } catch (InterruptedException e1) { throw new ExecutionException("Undo failed, interrupted.", e1); }