Author: britter
Date: Sun Feb 10 17:43:39 2013
New Revision: 1444574

URL: http://svn.apache.org/r1444574
Log:
Remove InvocationTargetException from JavaDoc to prevent unneeded import. All 
exceptions from the reflect and introspection API are wrapped into custom 
RuntimeExceptions, that will be documented soon.

Modified:
    
commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java

Modified: 
commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java?rev=1444574&r1=1444573&r2=1444574&view=diff
==============================================================================
--- 
commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java
 (original)
+++ 
commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/BeanAccessor.java
 Sun Feb 10 17:43:39 2013
@@ -19,7 +19,6 @@ package org.apache.commons.beanutils2;
  * under the License.
  */
 
-import java.lang.reflect.InvocationTargetException;
 import java.util.Map;
 
 public interface BeanAccessor<B>
@@ -60,7 +59,6 @@ public interface BeanAccessor<B>
      * @return the cloned bean
      * @throws IllegalAccessException if the caller does not have access to 
the property accessor method
      * @throws InstantiationException if a new instance of the bean's class 
cannot be instantiated
-     * @throws InvocationTargetException if the property accessor method 
throws an exception
      * @throws NoSuchMethodException if an accessor method for this property 
cannot be found
      * @throws IntrospectionException
      */
@@ -87,7 +85,6 @@ public interface BeanAccessor<B>
      * @param target the target to copy properties to from the wrapped bean
      * @throws IllegalAccessException if the caller does not have access to 
any of the property accessor methods
      * @throws IntrospectionException TODO
-     * @throws InvocationTargetException if any of the property accessor 
methods throws an exception
      * @throws NoSuchMethodException if an accessor method for a property 
cannot be found
      */
     <T extends B> void copyPropertiesTo( T target );
@@ -126,8 +123,6 @@ public interface BeanAccessor<B>
      * TODO update to Wrapper Exceptions
      * @exception IllegalAccessException if the caller does not have
      *  access to the property accessor method
-     * @exception InvocationTargetException if one of the property accessor 
methods
-     *  throws an exception
      *  TODO what is meant with "this property" in the context of describe()?
      * @exception NoSuchMethodException if an accessor method for this
      *  property cannot be found
@@ -147,7 +142,6 @@ public interface BeanAccessor<B>
      * @throws NoSuchMethodException if there no method with the name {@code 
methodName} can be found or the arguments
      *             can not be casted so set they fit the methods signature.
      * @throws IllegalAccessException if the method is not visible to the 
caller
-     * @throws InvocationTargetException TODO
      */
     ArgumentsAccessor invoke( String methodName );
 
@@ -159,7 +153,6 @@ public interface BeanAccessor<B>
      * @throws NoSuchMethodException if no method with the name {@code 
methodName} cand be found that accepts the exact
      *             arguments.
      * @throws IllegalAccessException if the method is not visible to the 
caller
-     * @throws InvocationTargetException TODO
      */
     ArgumentsAccessor invokeExact( String methodName );
 


Reply via email to