]> source.dussan.org Git - vaadin-framework.git/commitdiff
Removed remaining references to FormBuilderException
authorArtur Signell <artur@vaadin.com>
Tue, 20 Dec 2011 14:20:22 +0000 (16:20 +0200)
committerArtur Signell <artur@vaadin.com>
Tue, 20 Dec 2011 14:20:52 +0000 (16:20 +0200)
src/com/vaadin/tools/ReflectTools.java

index 240adccb73a8fa94e72505e4758f153774d59e15..ea2afae301a5a4d3c24c32c3fd796f57de98069e 100644 (file)
@@ -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,