X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.databoard%2Fsrc%2Forg%2Fsimantics%2Fdataboard%2Fbinding%2Fimpl%2FThrowableBinding.java;h=6ad6dd529bc99488aeb97b2d00f5ae7f0637210e;hb=1956b6ed85e1df65c4df58e6cb0ac6aa296e6939;hp=b55b9d0a881175f63caeb8469d67e1fba7ae5688;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.databoard/src/org/simantics/databoard/binding/impl/ThrowableBinding.java b/bundles/org.simantics.databoard/src/org/simantics/databoard/binding/impl/ThrowableBinding.java index b55b9d0a8..6ad6dd529 100644 --- a/bundles/org.simantics.databoard/src/org/simantics/databoard/binding/impl/ThrowableBinding.java +++ b/bundles/org.simantics.databoard/src/org/simantics/databoard/binding/impl/ThrowableBinding.java @@ -82,7 +82,7 @@ public class ThrowableBinding extends RecordBinding { } catch (IllegalAccessException e) { throw new BindingException( e ); } catch (InvocationTargetException e) { - throw new BindingException( e ); + throw new BindingException( e.getCause() ); } } @@ -98,7 +98,7 @@ public class ThrowableBinding extends RecordBinding { } catch (IllegalAccessException e) { throw new BindingException( e ); } catch (InvocationTargetException e) { - throw new BindingException( e ); + throw new BindingException( e.getCause() ); } } @@ -111,7 +111,7 @@ public class ThrowableBinding extends RecordBinding { } catch (IllegalAccessException e) { throw new BindingException( e ); } catch (InvocationTargetException e) { - throw new BindingException( e ); + throw new BindingException( e.getCause() ); } }