]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.g2d/src/org/simantics/g2d/canvas/impl/HintReflection.java
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.g2d / src / org / simantics / g2d / canvas / impl / HintReflection.java
index 3edd342b70b13049c4c5ae9531a9207f890ce612..2f701cc5718996bdb700915634cc5091c8170be6 100644 (file)
@@ -162,7 +162,7 @@ public class HintReflection {
                        } catch (IllegalAccessException e) {\r
                                throw new Error(e);\r
                        } catch (InvocationTargetException e) {\r
-                               throw new RuntimeException(e);\r
+                               throw new RuntimeException(e.getCause());\r
                        }\r
                }\r
                @Override\r