Browse Source

Report identifier if field binding fails (#17837)

Change-Id: Ie3787792ab508adbf570d1a913ab49ec86924fbb
tags/7.5.0.beta1
Artur Signell 9 years ago
parent
commit
4a4baf0bf6
1 changed files with 6 additions and 3 deletions
  1. 6
    3
      server/src/com/vaadin/ui/declarative/FieldBinder.java

+ 6
- 3
server/src/com/vaadin/ui/declarative/FieldBinder.java View 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);
}
}


Loading…
Cancel
Save