You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/02/07 21:34:09 UTC
svn commit: r1443708 -
/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/ArgumentsAccessor.java
Author: britter
Date: Thu Feb 7 20:34:09 2013
New Revision: 1443708
URL: http://svn.apache.org/r1443708
Log:
Removed unused @throws clauses. Only BeanReflectionExceptions are thrown from BeanUtils
Modified:
commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/ArgumentsAccessor.java
Modified: commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/ArgumentsAccessor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/ArgumentsAccessor.java?rev=1443708&r1=1443707&r2=1443708&view=diff
==============================================================================
--- commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/ArgumentsAccessor.java (original)
+++ commons/sandbox/beanutils2/trunk/src/main/java/org/apache/commons/beanutils2/ArgumentsAccessor.java Thu Feb 7 20:34:09 2013
@@ -19,8 +19,6 @@ package org.apache.commons.beanutils2;
* under the License.
*/
-import java.lang.reflect.InvocationTargetException;
-
/**
* A {@code ArgumentAccessor} can be used to pass arguments to a constructor or method.
*/
@@ -28,17 +26,13 @@ public interface ArgumentsAccessor
{
/**
- * Passes the given arguments to the called constructor or method. Note that if you wont to pass primitive
+ * Passes the given arguments to the called constructor or method. Note that if you want to pass primitive
* arguments, you have to call {@link Argument#argument(Class, Object)} and pass the primitive class. This
* especially applies if you called {@link ClassAccessor#invokeExactConstructor(Argument...)},
* {@link ClassAccessor#invokeExactStatic(String)} or {@link BeanAccessor#invokeExact(String)} before.
*
* @param arguments the arguments to be passed. May be empty.
* @return a {@link BeanAccessor} for the result of the method invocation.
- * @throws IllegalArgumentException if the invoking the constructor or method would throw one.
- * @throws IllegalAccessException if the invoked constructor or method would throw one.
- * @throws InvocationTargetException TODO
- * @throws NoSuchMethodException if no method with a fitting signature can be found.
*/
BeanAccessor<?> with( Argument<?>... arguments );