]> source.dussan.org Git - vaadin-framework.git/commitdiff
Report identifier if field binding fails (#17837)
authorArtur Signell <artur@vaadin.com>
Wed, 13 May 2015 14:17:30 +0000 (17:17 +0300)
committerMika Murtojarvi <mika@vaadin.com>
Mon, 25 May 2015 07:32:03 +0000 (10:32 +0300)
Change-Id: I0339c33bb01efe0cd5bf2da35e7a2ae1b0f0572d

server/src/com/vaadin/ui/declarative/FieldBinder.java

index bd906682fa2605e00658fee9a33b368a982f4802..577e9f55158b8cce9fe80304e0ea0173798fa07b 100644 (file)
@@ -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);
         }
     }