]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.reflection/src/org/simantics/scl/reflection/functions/ClassMethodFunction.java
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.scl.reflection / src / org / simantics / scl / reflection / functions / ClassMethodFunction.java
index 0b5760a26f3bda49da437ed03dff99a98955fea2..5472ad386776de0ae86d9866a33452f57b0d9fa7 100755 (executable)
@@ -26,8 +26,7 @@ public class ClassMethodFunction extends FunctionImplN {
         } catch (IllegalAccessException e) {\r
             throw new RuntimeException(e);\r
         } catch (InvocationTargetException e) {\r
-            //e.printStackTrace();\r
-            throw new RuntimeException(e);\r
+            throw new RuntimeException(e.getCause());\r
         }\r
     }\r
     \r