You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2016/06/07 02:26:25 UTC

svn commit: r1747120 - in /commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl: ElementsAccessor.java MethodAccessor.java PropertyAccessor.java

Author: ggregory
Date: Tue Jun  7 02:26:25 2016
New Revision: 1747120

URL: http://svn.apache.org/viewvc?rev=1747120&view=rev
Log:
Update old school @exception with new school @throws.

Modified:
    commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/ElementsAccessor.java
    commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/MethodAccessor.java
    commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/PropertyAccessor.java

Modified: commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/ElementsAccessor.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/ElementsAccessor.java?rev=1747120&r1=1747119&r2=1747120&view=diff
==============================================================================
--- commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/ElementsAccessor.java (original)
+++ commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/ElementsAccessor.java Tue Jun  7 02:26:25 2016
@@ -36,7 +36,7 @@ public interface ElementsAccessor
      * 
      * @param target the object to get the elements of
      * @return an iterator over the elements of the given object
-     * @exception OgnlException if there is an error getting the given object's elements
+     * @throws OgnlException if there is an error getting the given object's elements
      */
     Enumeration<?> getElements( Object target ) throws OgnlException;
 }

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=1747120&r1=1747119&r2=1747120&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 Jun  7 02:26:25 2016
@@ -35,7 +35,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 OgnlException if there is an error calling the method
+     * @throws OgnlException if there is an error calling the method
      */
     Object callStaticMethod( Map<String, Object> context, Class<?> targetClass, String methodName, Object[] args )
         throws OgnlException;
@@ -48,7 +48,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 OgnlException if there is an error calling the method
+     * @throws OgnlException if there is an error calling the method
      */
     Object callMethod( Map<String, Object> context, Object target, String methodName, Object[] args )
         throws OgnlException;

Modified: commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/PropertyAccessor.java
URL: http://svn.apache.org/viewvc/commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/PropertyAccessor.java?rev=1747120&r1=1747119&r2=1747120&view=diff
==============================================================================
--- commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/PropertyAccessor.java (original)
+++ commons/proper/ognl/trunk/src/main/java/org/apache/commons/ognl/PropertyAccessor.java Tue Jun  7 02:26:25 2016
@@ -45,7 +45,7 @@ public interface PropertyAccessor
      * @param target the object to get the property from
      * @param name the name of the property to get.
      * @return the current value of the given property in the given object
-     * @exception OgnlException if there is an error locating the property in the given object
+     * @throws OgnlException if there is an error locating the property in the given object
      */
     Object getProperty( Map<String, Object> context, Object target, Object name )
         throws OgnlException;
@@ -57,7 +57,7 @@ public interface PropertyAccessor
      * @param target the object to set the property in
      * @param name the name of the property to set
      * @param value the new value for the property.
-     * @exception OgnlException if there is an error setting the property in the given object
+     * @throws OgnlException if there is an error setting the property in the given object
      */
     void setProperty( Map<String, Object> context, Object target, Object name, Object value )
         throws OgnlException;