]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.reflection/src/org/simantics/scl/reflection/functions/InstanceMethodFunction.java
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.scl.reflection / src / org / simantics / scl / reflection / functions / InstanceMethodFunction.java
index 94294d53e648b157610324adbc669889f2e0eda9..fa729ea7acff4b16deb99a44ae45888448dd6729 100755 (executable)
@@ -27,7 +27,7 @@ public class InstanceMethodFunction extends FunctionImplN {
         } 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