Author: mcucchiara Date: Tue Oct 25 15:00:39 2011 New Revision: 1188688 URL: http://svn.apache.org/viewvc?rev=1188688&view=rev Log: Change exception docs
Modified: commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java Modified: commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java?rev=1188688&r1=1188687&r2=1188688&view=diff ============================================================================== --- commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java (original) +++ commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java Tue Oct 25 15:00:39 2011 @@ -38,7 +38,7 @@ public interface MethodAccessor * @param methodName the name of the method * @param args the arguments to the method * @return result of calling the method - * @exception MethodFailedException if there is an error calling the method + * @exception OgnlException if there is an error calling the method */ Object callStaticMethod( Map<String, Object> context, Class<?> targetClass, String methodName, Object[] args ) throws OgnlException; @@ -51,7 +51,7 @@ public interface MethodAccessor * @param methodName the name of the method * @param args the arguments to the method * @return result of calling the method - * @exception MethodFailedException if there is an error calling the method + * @exception OgnlException if there is an error calling the method */ Object callMethod( Map<String, Object> context, Object target, String methodName, Object[] args ) throws OgnlException;