summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2011-12-20 16:20:22 +0200
committerArtur Signell <artur@vaadin.com>2011-12-20 16:20:52 +0200
commitc01b4b156ef0f3b0c0bc752bd87e226a06cf1b18 (patch)
tree04a26d807239be1c012f441e9b81e0d3a3f01e34 /src/com
parent2e7b257ac0a834ed4818a545b5d5e0af0d10bfba (diff)
downloadvaadin-framework-c01b4b156ef0f3b0c0bc752bd87e226a06cf1b18.tar.gz
vaadin-framework-c01b4b156ef0f3b0c0bc752bd87e226a06cf1b18.zip
Removed remaining references to FormBuilderException
Diffstat (limited to 'src/com')
-rw-r--r--src/com/vaadin/tools/ReflectTools.java18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/com/vaadin/tools/ReflectTools.java b/src/com/vaadin/tools/ReflectTools.java
index 240adccb73..ea2afae301 100644
--- a/src/com/vaadin/tools/ReflectTools.java
+++ b/src/com/vaadin/tools/ReflectTools.java
@@ -8,8 +8,6 @@ import java.beans.PropertyDescriptor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
-import com.vaadin.data.fieldbinder.FormBuilder.FormBuilderException;
-
/**
* An util class with helpers for reflection operations. Used internally by
* Vaadin and should not be used by application developers. Subject to change at
@@ -54,16 +52,16 @@ public class ReflectTools {
* @param field
* The field we want to get the value for
* @return The value of the field in the object
- * @throws FormBuilderException
- * If the field value cannot be determined
* @throws InvocationTargetException
+ * If the value could not be retrieved
* @throws IllegalAccessException
+ * If the value could not be retrieved
* @throws IllegalArgumentException
+ * If the value could not be retrieved
*/
public static Object getJavaFieldValue(Object object,
- java.lang.reflect.Field field) throws FormBuilderException,
- IllegalArgumentException, IllegalAccessException,
- InvocationTargetException {
+ java.lang.reflect.Field field) throws IllegalArgumentException,
+ IllegalAccessException, InvocationTargetException {
PropertyDescriptor pd;
try {
pd = new PropertyDescriptor(field.getName(), object.getClass());
@@ -95,7 +93,11 @@ public class ReflectTools {
* The field we want to set the value for
* @param value
* The value to set
- * @throws FormBuilderException
+ * @throws IllegalAccessException
+ * If the value could not be assigned to the field
+ * @throws IllegalArgumentException
+ * If the value could not be assigned to the field
+ * @throws InvocationTargetException
* If the value could not be assigned to the field
*/
public static void setJavaFieldValue(Object object,