diff options
author | Artur Signell <artur@vaadin.com> | 2013-03-04 20:06:00 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-03-05 11:05:29 +0000 |
commit | 48b5c927b9e4e614e7cc334fb9c8b0bed42d28c8 (patch) | |
tree | 179360b92bce0877d6a9494a96bce4725d2d254e /server/src/com/vaadin/data | |
parent | d4143dd71b314a83a8f610f6b5c9d06435180dbd (diff) | |
download | vaadin-framework-48b5c927b9e4e614e7cc334fb9c8b0bed42d28c8.tar.gz vaadin-framework-48b5c927b9e4e614e7cc334fb9c8b0bed42d28c8.zip |
Catch NoSuchFieldException instead of NoSuchFieldError (#10944)
Change-Id: I0ece22fc53388a7c9eb268c00ae46c589859a1f1
Diffstat (limited to 'server/src/com/vaadin/data')
-rw-r--r-- | server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java | 2 |
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 b0d03af8d6..9dc6037d83 100644 --- a/server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java +++ b/server/src/com/vaadin/data/fieldgroup/BeanFieldGroup.java @@ -72,7 +72,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 != Object.class) { |