summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java')
-rw-r--r--server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java b/server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java
index 502394f38a..0b4e3a8049 100644
--- a/server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java
+++ b/server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java
@@ -89,7 +89,7 @@ public class BeanFieldGroup<T> extends FieldGroup {
java.lang.reflect.Field field1 = cls
.getDeclaredField(propertyId);
return field1;
- } catch (NoSuchFieldError e) {
+ } catch (NoSuchFieldException e) {
// Try super classes until we reach Object
Class<?> superClass = cls.getSuperclass();
if (superClass != null && superClass != Object.class) {