]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/src/org/simantics/databoard/method/MethodInterfaceUtil.java
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.databoard / src / org / simantics / databoard / method / MethodInterfaceUtil.java
index 1ea10b6da8054e85b9cff44e9a20a40b8907d546..a1ec2a697ab25a485209e84abcbd7144dbd29909 100644 (file)
@@ -291,7 +291,7 @@ public class MethodInterfaceUtil {
                } catch (IllegalAccessException e) {
                        throw new BindingConstructionException(e);
                } catch (InvocationTargetException e) {
-                       throw new BindingConstructionException(e);
+                       throw new BindingConstructionException(e.getCause());
                }
        }