]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/src/org/simantics/databoard/binding/impl/ThrowableBinding.java
Sync git svn branch with SVN repository r33144.
[simantics/platform.git] / bundles / org.simantics.databoard / src / org / simantics / databoard / binding / impl / ThrowableBinding.java
index b55b9d0a881175f63caeb8469d67e1fba7ae5688..6ad6dd529bc99488aeb97b2d00f5ae7f0637210e 100644 (file)
@@ -82,7 +82,7 @@ public class ThrowableBinding extends RecordBinding {
                } catch (IllegalAccessException e) {\r
                        throw new BindingException( e ); \r
                } catch (InvocationTargetException e) {\r
-                       throw new BindingException( e ); \r
+                       throw new BindingException( e.getCause() ); \r
                }\r
        }\r
 \r
@@ -98,7 +98,7 @@ public class ThrowableBinding extends RecordBinding {
                        } catch (IllegalAccessException e) {\r
                                throw new BindingException( e );\r
                        } catch (InvocationTargetException e) {\r
-                               throw new BindingException( e );\r
+                               throw new BindingException( e.getCause() );\r
                        }\r
                }\r
                \r
@@ -111,7 +111,7 @@ public class ThrowableBinding extends RecordBinding {
                } catch (IllegalAccessException e) {\r
                        throw new BindingException( e );\r
                } catch (InvocationTargetException e) {\r
-                       throw new BindingException( e );\r
+                       throw new BindingException( e.getCause() );\r
                }\r
        }\r
 \r