]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.utils.thread/src/org/simantics/utils/threads/AWTThread.java
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.utils.thread / src / org / simantics / utils / threads / AWTThread.java
index 518cae81884108ce3b75bd9f1ee2a3acfdd5ce11..aaf53490e2c4b63764c345bc36c1b17cdcc25827 100644 (file)
@@ -82,7 +82,7 @@ public class AWTThread extends AbstractExecutorService implements IThreadWorkQue
                } catch (InterruptedException e) {\r
                        throw new RuntimeException(e);\r
                } catch (InvocationTargetException e) {\r
-                       throw new RuntimeException(e);\r
+                       throw new RuntimeException(e.getCause());\r
                }\r
        }\r
 \r