瀏覽代碼

Report identifier if field binding fails (#17837)

Change-Id: Ie3787792ab508adbf570d1a913ab49ec86924fbb
tags/7.5.0.beta1
Artur Signell 9 年之前
父節點
當前提交
4a4baf0bf6
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6
    3
      server/src/com/vaadin/ui/declarative/FieldBinder.java

+ 6
- 3
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);
}
}


Loading…
取消
儲存