]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/events/EventHandlerReflection.java
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.scenegraph / src / org / simantics / scenegraph / g2d / events / EventHandlerReflection.java
index c3c51eac15608140d03f81fee62fd2077f87a67a..c3bbd467662e01813c69fb1d854e9d0f9a5293d8 100644 (file)
@@ -104,7 +104,7 @@ public class EventHandlerReflection {
                     } catch (IllegalAccessException 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