aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-05-13 17:17:30 +0300
committerMika Murtojarvi <mika@vaadin.com>2015-05-25 10:32:03 +0300
commitbdff9c411e95711f3f33a7fca36b1d967d4cb520 (patch)
treefe99e6b8bfeccc1743cac191a25781a027784fd5 /server
parent4de32bcb0e31d7ee6622f755f60db006db9d61d4 (diff)
downloadvaadin-framework-bdff9c411e95711f3f33a7fca36b1d967d4cb520.tar.gz
vaadin-framework-bdff9c411e95711f3f33a7fca36b1d967d4cb520.zip
Report identifier if field binding fails (#17837)
Change-Id: I0339c33bb01efe0cd5bf2da35e7a2ae1b0f0572d
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/ui/declarative/FieldBinder.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/server/src/com/vaadin/ui/declarative/FieldBinder.java b/server/src/com/vaadin/ui/declarative/FieldBinder.java
index bd906682fa..577e9f5515 100644
--- a/server/src/com/vaadin/ui/declarative/FieldBinder.java
+++ b/server/src/com/vaadin/ui/declarative/FieldBinder.java
@@ -204,11 +204,14 @@ public class FieldBinder implements Serializable {
}
return true;
} catch (IllegalAccessException e) {
- throw new FieldBindingException("Field binding failed", e);
+ throw new FieldBindingException("Field binding failed for "
+ + identifier, e);
} catch (IllegalArgumentException e) {
- throw new FieldBindingException("Field binding failed", e);
+ throw new FieldBindingException("Field binding failed for "
+ + identifier, e);
} catch (InvocationTargetException e) {
- throw new FieldBindingException("Field binding failed", e);
+ throw new FieldBindingException("Field binding failed for "
+ + identifier, e);
}
}