Update old school @exception with new school @throws.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/ognl/trunk@1747120 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/commons/ognl/ElementsAccessor.java b/src/main/java/org/apache/commons/ognl/ElementsAccessor.java
index 10c1577..3f5cf18 100644
--- a/src/main/java/org/apache/commons/ognl/ElementsAccessor.java
+++ b/src/main/java/org/apache/commons/ognl/ElementsAccessor.java
@@ -36,7 +36,7 @@
*
* @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;
}
diff --git a/src/main/java/org/apache/commons/ognl/MethodAccessor.java b/src/main/java/org/apache/commons/ognl/MethodAccessor.java
index 58953b2..8150ba7 100644
--- a/src/main/java/org/apache/commons/ognl/MethodAccessor.java
+++ b/src/main/java/org/apache/commons/ognl/MethodAccessor.java
@@ -35,7 +35,7 @@
* @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 @@
* @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;
diff --git a/src/main/java/org/apache/commons/ognl/PropertyAccessor.java b/src/main/java/org/apache/commons/ognl/PropertyAccessor.java
index 9450a98..f2213f9 100644
--- a/src/main/java/org/apache/commons/ognl/PropertyAccessor.java
+++ b/src/main/java/org/apache/commons/ognl/PropertyAccessor.java
@@ -45,7 +45,7 @@
* @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 @@
* @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;