Author: ggregory
Date: Tue Jun 7 00:27:52 2016
New Revision: 1747095
URL: http://svn.apache.org/viewvc?rev=1747095&view=rev
Log:
Update old school @exception with new school @throws.
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BasicDynaBean.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BasicDynaClass.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtils.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/Converter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertingWrapDynaBean.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaBean.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaClass.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaBean.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaClass.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaList.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/MappedPropertyDescriptor.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/MutableDynaClass.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/PropertyUtils.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/PropertyUtilsBean.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ResultSetDynaClass.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ResultSetIterator.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/RowSetDynaClass.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/WrapDynaBean.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/WrapDynaClass.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/AbstractArrayConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/BooleanArrayConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/ByteArrayConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/CharacterArrayConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/DoubleArrayConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/FloatArrayConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/IntegerArrayConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/LongArrayConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/ShortArrayConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/converters/StringArrayConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleBeanUtilsBean.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/BigDecimalLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/BigIntegerLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/ByteLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/DecimalLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/FloatLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/IntegerLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/LongLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/ShortLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/SqlDateLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/SqlTimeLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/SqlTimestampLocaleConverter.java
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/converters/StringLocaleConverter.java
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BasicDynaBean.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BasicDynaBean.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BasicDynaBean.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BasicDynaBean.java
Tue Jun 7 00:27:52 2016
@@ -110,7 +110,7 @@ public class BasicDynaBean implements Dy
* @return <code>true</code> if the mapped property contains a value for
* the specified key, otherwise <code>false</code>
*
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
*/
public boolean contains(final String name, final String key) {
@@ -135,7 +135,7 @@ public class BasicDynaBean implements Dy
* @param name Name of the property whose value is to be retrieved
* @return The property's value
*
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
*/
public Object get(final String name) {
@@ -183,13 +183,13 @@ public class BasicDynaBean implements Dy
* @param index Index of the value to be retrieved
* @return The indexed property's value
*
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
- * @exception IllegalArgumentException if the specified property
+ * @throws IllegalArgumentException if the specified property
* exists, but is not indexed
- * @exception IndexOutOfBoundsException if the specified index
+ * @throws IndexOutOfBoundsException if the specified index
* is outside the range of the underlying property
- * @exception NullPointerException if no array or List has been
+ * @throws NullPointerException if no array or List has been
* initialized for this property
*/
public Object get(final String name, final int index) {
@@ -218,9 +218,9 @@ public class BasicDynaBean implements Dy
* @param key Key of the value to be retrieved
* @return The mapped property's value
*
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
- * @exception IllegalArgumentException if the specified property
+ * @throws IllegalArgumentException if the specified property
* exists, but is not mapped
*/
public Object get(final String name, final String key) {
@@ -260,7 +260,7 @@ public class BasicDynaBean implements Dy
* be removed
* @param key Key of the value to be removed
*
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
*/
public void remove(final String name, final String key) {
@@ -285,11 +285,11 @@ public class BasicDynaBean implements Dy
* @param name Name of the property whose value is to be set
* @param value Value to which this property is to be set
*
- * @exception ConversionException if the specified value cannot be
+ * @throws ConversionException if the specified value cannot be
* converted to the type required for this property
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
- * @exception NullPointerException if an attempt is made to set a
+ * @throws NullPointerException if an attempt is made to set a
* primitive property to null
*/
public void set(final String name, final Object value) {
@@ -319,13 +319,13 @@ public class BasicDynaBean implements Dy
* @param index Index of the property to be set
* @param value Value to which this property is to be set
*
- * @exception ConversionException if the specified value cannot be
+ * @throws ConversionException if the specified value cannot be
* converted to the type required for this property
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
- * @exception IllegalArgumentException if the specified property
+ * @throws IllegalArgumentException if the specified property
* exists, but is not indexed
- * @exception IndexOutOfBoundsException if the specified index
+ * @throws IndexOutOfBoundsException if the specified index
* is outside the range of the underlying property
*/
public void set(final String name, final int index, final Object value) {
@@ -362,11 +362,11 @@ public class BasicDynaBean implements Dy
* @param key Key of the property to be set
* @param value Value to which this property is to be set
*
- * @exception ConversionException if the specified value cannot be
+ * @throws ConversionException if the specified value cannot be
* converted to the type required for this property
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
- * @exception IllegalArgumentException if the specified property
+ * @throws IllegalArgumentException if the specified property
* exists, but is not mapped
*/
public void set(final String name, final String key, final Object value) {
@@ -399,7 +399,7 @@ public class BasicDynaBean implements Dy
* @param name Name of the property for which to retrieve the descriptor
* @return The property descriptor
*
- * @exception IllegalArgumentException if this is not a valid property
+ * @throws IllegalArgumentException if this is not a valid property
* name for our DynaClass
*/
protected DynaProperty getDynaProperty(final String name) {
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BasicDynaClass.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BasicDynaClass.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BasicDynaClass.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BasicDynaClass.java
Tue Jun 7 00:27:52 2016
@@ -167,7 +167,7 @@ public class BasicDynaClass implements D
* is requested
* @return The descriptor for the specified property
*
- * @exception IllegalArgumentException if no property name is specified
+ * @throws IllegalArgumentException if no property name is specified
*/
public DynaProperty getDynaProperty(final String name) {
@@ -203,9 +203,9 @@ public class BasicDynaClass implements D
* with this DynaClass.
*
* @return A new <code>DynaBean</code> instance
- * @exception IllegalAccessException if the Class or the appropriate
+ * @throws IllegalAccessException if the Class or the appropriate
* constructor is not accessible
- * @exception InstantiationException if this Class represents an abstract
+ * @throws InstantiationException if this Class represents an abstract
* class, an array class, a primitive type, or void; or if instantiation
* fails for some other reason
*/
@@ -254,7 +254,7 @@ public class BasicDynaClass implements D
*
* @param dynaBeanClass The new Class object
*
- * @exception IllegalArgumentException if the specified Class does not
+ * @throws IllegalArgumentException if the specified Class does not
* implement the <code>DynaBean</code> interface
*/
protected void setDynaBeanClass(final Class<?> dynaBeanClass) {
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtils.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtils.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtils.java
Tue Jun 7 00:27:52 2016
@@ -91,13 +91,13 @@ public class BeanUtils {
* @param bean Bean to be cloned
* @return the cloned bean
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InstantiationException if a new instance of the bean's
+ * @throws InstantiationException if a new instance of the bean's
* class cannot be instantiated
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
* @see BeanUtilsBean#cloneBean
*/
@@ -119,13 +119,13 @@ public class BeanUtils {
* @param dest Destination bean whose properties are modified
* @param orig Origin bean whose properties are retrieved
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception IllegalArgumentException if the <code>dest</code> or
+ * @throws IllegalArgumentException if the <code>dest</code> or
* <code>orig</code> argument is null or if the <code>dest</code>
* property type is different from the source type and the relevant
* converter has not been registered.
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
* @see BeanUtilsBean#copyProperties
*/
@@ -146,9 +146,9 @@ public class BeanUtils {
* @param name Property name (can be nested/indexed/mapped/combo)
* @param value Value to be set
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
* @see BeanUtilsBean#copyProperty
*/
@@ -168,11 +168,11 @@ public class BeanUtils {
* @param bean Bean whose properties are to be extracted
* @return Map of property descriptors
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
* @see BeanUtilsBean#describe
*/
@@ -194,11 +194,11 @@ public class BeanUtils {
* @param name Name of the property to be extracted
* @return The array property value
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
* @see BeanUtilsBean#getArrayProperty
*/
@@ -221,11 +221,11 @@ public class BeanUtils {
* to be extracted
* @return The indexed property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
* @see BeanUtilsBean#getIndexedProperty(Object, String)
*/
@@ -250,11 +250,11 @@ public class BeanUtils {
* @param index Index of the property value to be extracted
* @return The indexed property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
* @see BeanUtilsBean#getIndexedProperty(Object, String, int)
*/
@@ -279,11 +279,11 @@ public class BeanUtils {
* to be extracted
* @return The mapped property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
* @see BeanUtilsBean#getMappedProperty(Object, String)
*/
@@ -307,11 +307,11 @@ public class BeanUtils {
* @param key Lookup key of the property value to be extracted
* @return The mapped property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
* @see BeanUtilsBean#getMappedProperty(Object, String, String)
*/
@@ -335,13 +335,13 @@ public class BeanUtils {
* @param name Possibly nested name of the property to be extracted
* @return The nested property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception IllegalArgumentException if a nested reference to a
+ * @throws IllegalArgumentException if a nested reference to a
* property returns null
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
* @see BeanUtilsBean#getNestedProperty
*/
@@ -365,11 +365,11 @@ public class BeanUtils {
* to be extracted
* @return The property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
* @see BeanUtilsBean#getProperty
*/
@@ -392,11 +392,11 @@ public class BeanUtils {
* @param name Name of the property to be extracted
* @return The property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
* @see BeanUtilsBean#getSimpleProperty
*/
@@ -419,9 +419,9 @@ public class BeanUtils {
* @param properties Map keyed by property name, with the
* corresponding (String or String[]) value(s) to be set
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
* @see BeanUtilsBean#populate
*/
@@ -442,9 +442,9 @@ public class BeanUtils {
* @param name Property name (can be nested/indexed/mapped/combo)
* @param value Value to be set
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
* @see BeanUtilsBean#setProperty
*/
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/BeanUtilsBean.java
Tue Jun 7 00:27:52 2016
@@ -157,13 +157,13 @@ public class BeanUtilsBean {
* @param bean Bean to be cloned
* @return the cloned bean
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InstantiationException if a new instance of the bean's
+ * @throws InstantiationException if a new instance of the bean's
* class cannot be instantiated
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
*/
public Object cloneBean(final Object bean)
@@ -218,13 +218,13 @@ public class BeanUtilsBean {
* @param dest Destination bean whose properties are modified
* @param orig Origin bean whose properties are retrieved
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception IllegalArgumentException if the <code>dest</code> or
+ * @throws IllegalArgumentException if the <code>dest</code> or
* <code>orig</code> argument is null or if the <code>dest</code>
* property type is different from the source type and the relevant
* converter has not been registered.
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
*/
public void copyProperties(final Object dest, final Object orig)
@@ -318,9 +318,9 @@ public class BeanUtilsBean {
* @param name Property name (can be nested/indexed/mapped/combo)
* @param value Value to be set
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
*/
public void copyProperty(final Object bean, String name, Object value)
@@ -474,11 +474,11 @@ public class BeanUtilsBean {
* @param bean Bean whose properties are to be extracted
* @return Map of property descriptors
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
*/
public Map<String, String> describe(final Object bean)
@@ -526,11 +526,11 @@ public class BeanUtilsBean {
* @param name Name of the property to be extracted
* @return The array property value
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
*/
public String[] getArrayProperty(final Object bean, final String name)
@@ -585,11 +585,11 @@ public class BeanUtilsBean {
* to be extracted
* @return The indexed property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
*/
public String getIndexedProperty(final Object bean, final String name)
@@ -612,11 +612,11 @@ public class BeanUtilsBean {
* @param index Index of the property value to be extracted
* @return The indexed property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
*/
public String getIndexedProperty(final Object bean,
@@ -642,11 +642,11 @@ public class BeanUtilsBean {
* to be extracted
* @return The mapped property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
*/
public String getMappedProperty(final Object bean, final String name)
@@ -669,11 +669,11 @@ public class BeanUtilsBean {
* @param key Lookup key of the property value to be extracted
* @return The mapped property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
*/
public String getMappedProperty(final Object bean,
@@ -695,13 +695,13 @@ public class BeanUtilsBean {
* @param name Possibly nested name of the property to be extracted
* @return The nested property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception IllegalArgumentException if a nested reference to a
+ * @throws IllegalArgumentException if a nested reference to a
* property returns null
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
*/
public String getNestedProperty(final Object bean, final String name)
@@ -723,11 +723,11 @@ public class BeanUtilsBean {
* to be extracted
* @return The property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
*/
public String getProperty(final Object bean, final String name)
@@ -747,11 +747,11 @@ public class BeanUtilsBean {
* @param name Name of the property to be extracted
* @return The property's value, converted to a String
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
- * @exception NoSuchMethodException if an accessor method for this
+ * @throws NoSuchMethodException if an accessor method for this
* property cannot be found
*/
public String getSimpleProperty(final Object bean, final String name)
@@ -794,9 +794,9 @@ public class BeanUtilsBean {
* @param properties Map keyed by property name, with the
* corresponding (String or String[]) value(s) to be set
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
*/
public void populate(final Object bean, final Map<String, ? extends
Object> properties)
@@ -852,9 +852,9 @@ public class BeanUtilsBean {
* @param name Property name (can be nested/indexed/mapped/combo)
* @param value Value to be set
*
- * @exception IllegalAccessException if the caller does not have
+ * @throws IllegalAccessException if the caller does not have
* access to the property accessor method
- * @exception InvocationTargetException if the property accessor method
+ * @throws InvocationTargetException if the property accessor method
* throws an exception
*/
public void setProperty(final Object bean, String name, final Object value)
@@ -1066,7 +1066,7 @@ public class BeanUtilsBean {
* @param type Class of the value to be converted to
* @return The converted value
*
- * @exception ConversionException if thrown by an underlying Converter
+ * @throws ConversionException if thrown by an underlying Converter
* @since 1.8.0
*/
protected Object convert(final Object value, final Class<?> type) {
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtils.java
Tue Jun 7 00:27:52 2016
@@ -276,7 +276,7 @@ public class ConvertUtils {
* @param targetType Class of the value to be converted to (must not be
null)
* @return The converted value
*
- * @exception ConversionException if thrown by an underlying Converter
+ * @throws ConversionException if thrown by an underlying Converter
*/
public static Object convert(final Object value, final Class<?>
targetType) {
return ConvertUtilsBean.getInstance().convert(value, targetType);
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertUtilsBean.java
Tue Jun 7 00:27:52 2016
@@ -473,7 +473,7 @@ public class ConvertUtilsBean {
* @param clazz Java class to be converted to (must not be null)
* @return The converted value
*
- * @exception ConversionException if thrown by an underlying Converter
+ * @throws ConversionException if thrown by an underlying Converter
*/
public Object convert(final String value, final Class<?> clazz) {
@@ -504,7 +504,7 @@ public class ConvertUtilsBean {
* @param clazz Java array or element class to be converted to (must not
be null)
* @return The converted value
*
- * @exception ConversionException if thrown by an underlying Converter
+ * @throws ConversionException if thrown by an underlying Converter
*/
public Object convert(final String[] values, final Class<?> clazz) {
@@ -541,7 +541,7 @@ public class ConvertUtilsBean {
* @param targetType Class of the value to be converted to (must not be
null)
* @return The converted value
*
- * @exception ConversionException if thrown by an underlying Converter
+ * @throws ConversionException if thrown by an underlying Converter
*/
public Object convert(final Object value, final Class<?> targetType) {
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/Converter.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/Converter.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/Converter.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/Converter.java
Tue Jun 7 00:27:52 2016
@@ -48,7 +48,7 @@ public interface Converter {
* @param value The input value to be converted
* @return The converted value
*
- * @exception ConversionException if conversion cannot be performed
+ * @throws ConversionException if conversion cannot be performed
* successfully
*/
public <T> T convert(Class<T> type, Object value);
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertingWrapDynaBean.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertingWrapDynaBean.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertingWrapDynaBean.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/ConvertingWrapDynaBean.java
Tue Jun 7 00:27:52 2016
@@ -57,7 +57,7 @@ public class ConvertingWrapDynaBean exte
* @param name Name of the property whose value is to be set
* @param value Value to which this property is to be set
*
- * @exception IllegalArgumentException if there are any problems
+ * @throws IllegalArgumentException if there are any problems
* copying the property.
*/
@Override
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaBean.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaBean.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaBean.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaBean.java
Tue Jun 7 00:27:52 2016
@@ -41,7 +41,7 @@ public interface DynaBean {
* @return <code>true<code> if the mapped property contains a value for
* the specified key, otherwise <code>false</code>
*
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
*/
public boolean contains(String name, String key);
@@ -53,7 +53,7 @@ public interface DynaBean {
* @param name Name of the property whose value is to be retrieved
* @return The property's value
*
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
*/
public Object get(String name);
@@ -66,13 +66,13 @@ public interface DynaBean {
* @param index Index of the value to be retrieved
* @return The indexed property's value
*
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
- * @exception IllegalArgumentException if the specified property
+ * @throws IllegalArgumentException if the specified property
* exists, but is not indexed
- * @exception IndexOutOfBoundsException if the specified index
+ * @throws IndexOutOfBoundsException if the specified index
* is outside the range of the underlying property
- * @exception NullPointerException if no array or List has been
+ * @throws NullPointerException if no array or List has been
* initialized for this property
*/
public Object get(String name, int index);
@@ -86,9 +86,9 @@ public interface DynaBean {
* @param key Key of the value to be retrieved
* @return The mapped property's value
*
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
- * @exception IllegalArgumentException if the specified property
+ * @throws IllegalArgumentException if the specified property
* exists, but is not mapped
*/
public Object get(String name, String key);
@@ -111,7 +111,7 @@ public interface DynaBean {
* be removed
* @param key Key of the value to be removed
*
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
*/
public void remove(String name, String key);
@@ -123,11 +123,11 @@ public interface DynaBean {
* @param name Name of the property whose value is to be set
* @param value Value to which this property is to be set
*
- * @exception ConversionException if the specified value cannot be
+ * @throws ConversionException if the specified value cannot be
* converted to the type required for this property
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
- * @exception NullPointerException if an attempt is made to set a
+ * @throws NullPointerException if an attempt is made to set a
* primitive property to null
*/
public void set(String name, Object value);
@@ -140,13 +140,13 @@ public interface DynaBean {
* @param index Index of the property to be set
* @param value Value to which this property is to be set
*
- * @exception ConversionException if the specified value cannot be
+ * @throws ConversionException if the specified value cannot be
* converted to the type required for this property
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
- * @exception IllegalArgumentException if the specified property
+ * @throws IllegalArgumentException if the specified property
* exists, but is not indexed
- * @exception IndexOutOfBoundsException if the specified index
+ * @throws IndexOutOfBoundsException if the specified index
* is outside the range of the underlying property
*/
public void set(String name, int index, Object value);
@@ -159,11 +159,11 @@ public interface DynaBean {
* @param key Key of the property to be set
* @param value Value to which this property is to be set
*
- * @exception ConversionException if the specified value cannot be
+ * @throws ConversionException if the specified value cannot be
* converted to the type required for this property
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
- * @exception IllegalArgumentException if the specified property
+ * @throws IllegalArgumentException if the specified property
* exists, but is not mapped
*/
public void set(String name, String key, Object value);
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaClass.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaClass.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaClass.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/DynaClass.java
Tue Jun 7 00:27:52 2016
@@ -48,7 +48,7 @@ public interface DynaClass {
* is requested
* @return The descriptor for the specified property
*
- * @exception IllegalArgumentException if no property name is specified
+ * @throws IllegalArgumentException if no property name is specified
*/
public DynaProperty getDynaProperty(String name);
@@ -73,9 +73,9 @@ public interface DynaClass {
*
* @return A new <code>DynaBean</code> instance
*
- * @exception IllegalAccessException if the Class or the appropriate
+ * @throws IllegalAccessException if the Class or the appropriate
* constructor is not accessible
- * @exception InstantiationException if this Class represents an abstract
+ * @throws InstantiationException if this Class represents an abstract
* class, an array class, a primitive type, or void; or if instantiation
* fails for some other reason
*/
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/JDBCDynaClass.java
Tue Jun 7 00:27:52 2016
@@ -90,7 +90,7 @@ abstract class JDBCDynaClass implements
* @param name Name of the dynamic property for which a descriptor
* is requested
*
- * @exception IllegalArgumentException if no property name is specified
+ * @throws IllegalArgumentException if no property name is specified
*/
public DynaProperty getDynaProperty(final String name) {
@@ -117,9 +117,9 @@ abstract class JDBCDynaClass implements
* with this DynaClass. <strong>NOTE</strong> - This operation is not
* supported, and throws an exception.</p>
*
- * @exception IllegalAccessException if the Class or the appropriate
+ * @throws IllegalAccessException if the Class or the appropriate
* constructor is not accessible
- * @exception InstantiationException if this Class represents an abstract
+ * @throws InstantiationException if this Class represents an abstract
* class, an array class, a primitive type, or void; or if instantiation
* fails for some other reason
*/
@@ -147,7 +147,7 @@ abstract class JDBCDynaClass implements
*
* @param className The name of the class to load
* @return The loaded class
- * @exception SQLException if an exception was thrown trying to load
+ * @throws SQLException if an exception was thrown trying to load
* the specified class
*/
protected Class<?> loadClass(final String className) throws SQLException {
@@ -230,7 +230,7 @@ abstract class JDBCDynaClass implements
* @param resultSet The <code>resultSet</code> whose metadata is to
* be introspected
*
- * @exception SQLException if an error is encountered processing the
+ * @throws SQLException if an error is encountered processing the
* result set metadata
*/
protected void introspect(final ResultSet resultSet) throws SQLException {
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaBean.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaBean.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaBean.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaBean.java
Tue Jun 7 00:27:52 2016
@@ -216,7 +216,7 @@ public class LazyDynaBean implements Dyn
*
* @param name Name of the property
* @return The indexed or mapped property size
- * @exception IllegalArgumentException if no property name is specified
+ * @throws IllegalArgumentException if no property name is specified
*/
public int size(final String name) {
@@ -256,7 +256,7 @@ public class LazyDynaBean implements Dyn
* @return <code>true</code> if the mapped property contains a value for
* the specified key, otherwise <code>false</code>
*
- * @exception IllegalArgumentException if no property name is specified
+ * @throws IllegalArgumentException if no property name is specified
*/
public boolean contains(final String name, final String key) {
@@ -285,7 +285,7 @@ public class LazyDynaBean implements Dyn
*
* @param name Name of the property whose value is to be retrieved.
* @return The property's value
- * @exception IllegalArgumentException if no property name is specified
+ * @throws IllegalArgumentException if no property name is specified
*/
public Object get(final String name) {
@@ -325,9 +325,9 @@ public class LazyDynaBean implements Dyn
* @param index Index of the value to be retrieved
* @return The indexed property's value
*
- * @exception IllegalArgumentException if the specified property
+ * @throws IllegalArgumentException if the specified property
* exists, but is not indexed
- * @exception IndexOutOfBoundsException if the specified index
+ * @throws IndexOutOfBoundsException if the specified index
* is outside the range of the underlying property
*/
public Object get(final String name, final int index) {
@@ -373,7 +373,7 @@ public class LazyDynaBean implements Dyn
* @param key Key of the value to be retrieved
* @return The mapped property's value
*
- * @exception IllegalArgumentException if the specified property
+ * @throws IllegalArgumentException if the specified property
* exists, but is not mapped
*/
public Object get(final String name, final String key) {
@@ -423,7 +423,7 @@ public class LazyDynaBean implements Dyn
* be removed
* @param key Key of the value to be removed
*
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
*/
public void remove(final String name, final String key) {
@@ -453,11 +453,11 @@ public class LazyDynaBean implements Dyn
* @param name Name of the property whose value is to be set
* @param value Value to which this property is to be set
*
- * @exception IllegalArgumentException if this is not an existing property
+ * @throws IllegalArgumentException if this is not an existing property
* name for our DynaClass and the MutableDynaClass is restricted
- * @exception ConversionException if the specified value cannot be
+ * @throws ConversionException if the specified value cannot be
* converted to the type required for this property
- * @exception NullPointerException if an attempt is made to set a
+ * @throws NullPointerException if an attempt is made to set a
* primitive property to null
*/
public void set(final String name, final Object value) {
@@ -504,13 +504,13 @@ public class LazyDynaBean implements Dyn
* @param index Index of the property to be set
* @param value Value to which this property is to be set
*
- * @exception ConversionException if the specified value cannot be
+ * @throws ConversionException if the specified value cannot be
* converted to the type required for this property
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
- * @exception IllegalArgumentException if the specified property
+ * @throws IllegalArgumentException if the specified property
* exists, but is not indexed
- * @exception IndexOutOfBoundsException if the specified index
+ * @throws IndexOutOfBoundsException if the specified index
* is outside the range of the underlying property
*/
public void set(final String name, final int index, final Object value) {
@@ -557,11 +557,11 @@ public class LazyDynaBean implements Dyn
* @param key Key of the property to be set
* @param value Value to which this property is to be set
*
- * @exception ConversionException if the specified value cannot be
+ * @throws ConversionException if the specified value cannot be
* converted to the type required for this property
- * @exception IllegalArgumentException if there is no property
+ * @throws IllegalArgumentException if there is no property
* of the specified name
- * @exception IllegalArgumentException if the specified property
+ * @throws IllegalArgumentException if the specified property
* exists, but is not mapped
*/
public void set(final String name, final String key, final Object value) {
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaClass.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaClass.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaClass.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaClass.java
Tue Jun 7 00:27:52 2016
@@ -157,8 +157,8 @@ public class LazyDynaClass extends Basic
*
* @param name Name of the new dynamic property
*
- * @exception IllegalArgumentException if name is null
- * @exception IllegalStateException if this DynaClass is currently
+ * @throws IllegalArgumentException if name is null
+ * @throws IllegalStateException if this DynaClass is currently
* restricted, so no new properties can be added
*/
public void add(final String name) {
@@ -173,8 +173,8 @@ public class LazyDynaClass extends Basic
* @param type Data type of the new dynamic property (null for no
* restrictions)
*
- * @exception IllegalArgumentException if name is null
- * @exception IllegalStateException if this DynaClass is currently
+ * @throws IllegalArgumentException if name is null
+ * @throws IllegalStateException if this DynaClass is currently
* restricted, so no new properties can be added
*/
public void add(final String name, final Class<?> type) {
@@ -204,7 +204,7 @@ public class LazyDynaClass extends Basic
* @param writeable Set to <code>true</code> if this property value
* should be writeable
*
- * @exception UnsupportedOperationException anytime this method is called
+ * @throws UnsupportedOperationException anytime this method is called
*/
public void add(final String name, final Class<?> type, final boolean
readable, final boolean writeable) {
throw new java.lang.UnsupportedOperationException("readable/writable
properties not supported");
@@ -215,8 +215,8 @@ public class LazyDynaClass extends Basic
*
* @param property Property the new dynamic property to add.
*
- * @exception IllegalArgumentException if name is null
- * @exception IllegalStateException if this DynaClass is currently
+ * @throws IllegalArgumentException if name is null
+ * @throws IllegalStateException if this DynaClass is currently
* restricted, so no new properties can be added
*/
protected void add(final DynaProperty property) {
@@ -254,8 +254,8 @@ public class LazyDynaClass extends Basic
*
* @param name Name of the dynamic property to remove
*
- * @exception IllegalArgumentException if name is null
- * @exception IllegalStateException if this DynaClass is currently
+ * @throws IllegalArgumentException if name is null
+ * @throws IllegalStateException if this DynaClass is currently
* restricted, so no properties can be removed
*/
public void remove(final String name) {
@@ -311,7 +311,7 @@ public class LazyDynaClass extends Basic
* is requested
* @return The dyna property for the specified name
*
- * @exception IllegalArgumentException if no property name is specified
+ * @throws IllegalArgumentException if no property name is specified
*/
@Override
public DynaProperty getDynaProperty(final String name) {
@@ -343,7 +343,7 @@ public class LazyDynaClass extends Basic
* @param name The name of the property to check
* @return <code>true</code> if there is a property of the
* specified name, otherwise <code>false</code>
- * @exception IllegalArgumentException if no property name is specified
+ * @throws IllegalArgumentException if no property name is specified
*/
public boolean isDynaProperty(final String name) {
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaList.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaList.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaList.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaList.java
Tue Jun 7 00:27:52 2016
@@ -504,7 +504,7 @@ public class LazyDynaList extends ArrayL
* <p>Set the element Type and DynaClass.</p>
*
* @param elementType The type of the elements.
- * @exception IllegalArgumentException if the List already
+ * @throws IllegalArgumentException if the List already
* contains elements or the DynaClass is null.
*/
public void setElementType(final Class<?> elementType) {
@@ -557,7 +557,7 @@ public class LazyDynaList extends ArrayL
* <p>Set the element Type and DynaClass.</p>
*
* @param elementDynaClass The DynaClass of the elements.
- * @exception IllegalArgumentException if the List already
+ * @throws IllegalArgumentException if the List already
* contains elements or the DynaClass is null.
*/
public void setElementDynaClass(final DynaClass elementDynaClass) {
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java
Tue Jun 7 00:27:52 2016
@@ -213,7 +213,7 @@ public class LazyDynaMap extends LazyDyn
* is requested
* @return The descriptor for the specified property
*
- * @exception IllegalArgumentException if no property name is specified
+ * @throws IllegalArgumentException if no property name is specified
*/
public DynaProperty getDynaProperty(final String name) {
@@ -324,7 +324,7 @@ public class LazyDynaMap extends LazyDyn
*
* @param name Name of the new dynamic property
*
- * @exception IllegalArgumentException if name is null
+ * @throws IllegalArgumentException if name is null
*/
public void add(final String name) {
add(name, null);
@@ -338,8 +338,8 @@ public class LazyDynaMap extends LazyDyn
* @param type Data type of the new dynamic property (null for no
* restrictions)
*
- * @exception IllegalArgumentException if name is null
- * @exception IllegalStateException if this DynaClass is currently
+ * @throws IllegalArgumentException if name is null
+ * @throws IllegalStateException if this DynaClass is currently
* restricted, so no new properties can be added
*/
public void add(final String name, final Class<?> type) {
@@ -380,7 +380,7 @@ public class LazyDynaMap extends LazyDyn
* @param writeable Set to <code>true</code> if this property value
* should be writeable
*
- * @exception UnsupportedOperationException anytime this method is called
+ * @throws UnsupportedOperationException anytime this method is called
*/
public void add(final String name, final Class<?> type, final boolean
readable, final boolean writeable) {
throw new java.lang.UnsupportedOperationException("readable/writable
properties not supported");
@@ -391,7 +391,7 @@ public class LazyDynaMap extends LazyDyn
*
* @param property Property the new dynamic property to add.
*
- * @exception IllegalArgumentException if name is null
+ * @throws IllegalArgumentException if name is null
*/
protected void add(final DynaProperty property) {
add(property.getName(), property.getType());
@@ -406,8 +406,8 @@ public class LazyDynaMap extends LazyDyn
*
* @param name Name of the dynamic property to remove
*
- * @exception IllegalArgumentException if name is null
- * @exception IllegalStateException if this DynaClass is currently
+ * @throws IllegalArgumentException if name is null
+ * @throws IllegalStateException if this DynaClass is currently
* restricted, so no properties can be removed
*/
public void remove(final String name) {
@@ -470,7 +470,7 @@ public class LazyDynaMap extends LazyDyn
* @param name Name of the dynamic property
* @return <code>true</code> if the property exists,
* otherwise <code>false</code>
- * @exception IllegalArgumentException if no property name is specified
+ * @throws IllegalArgumentException if no property name is specified
*/
@Override
protected boolean isDynaProperty(final String name) {
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/MappedPropertyDescriptor.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/MappedPropertyDescriptor.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/MappedPropertyDescriptor.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/MappedPropertyDescriptor.java
Tue Jun 7 00:27:52 2016
@@ -80,7 +80,7 @@ public class MappedPropertyDescriptor ex
* @param beanClass The Class object for the target bean. For
* example sun.beans.OurButton.class.
*
- * @exception IntrospectionException if an exception occurs during
+ * @throws IntrospectionException if an exception occurs during
* introspection.
*/
public MappedPropertyDescriptor(final String propertyName, final Class<?>
beanClass)
@@ -146,7 +146,7 @@ public class MappedPropertyDescriptor ex
* one of the property values. May be null if the property is
* read-only.
*
- * @exception IntrospectionException if an exception occurs during
+ * @throws IntrospectionException if an exception occurs during
* introspection.
*/
public MappedPropertyDescriptor(final String propertyName, final Class<?>
beanClass,
@@ -192,7 +192,7 @@ public class MappedPropertyDescriptor ex
* @param mappedSetter The method used for writing one the
* property values. May be null if the property is read-only.
*
- * @exception IntrospectionException if an exception occurs during
+ * @throws IntrospectionException if an exception occurs during
* introspection.
*/
public MappedPropertyDescriptor(final String propertyName,
Modified:
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/MutableDynaClass.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/MutableDynaClass.java?rev=1747095&r1=1747094&r2=1747095&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/MutableDynaClass.java
(original)
+++
commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/MutableDynaClass.java
Tue Jun 7 00:27:52 2016
@@ -41,8 +41,8 @@ public interface MutableDynaClass extend
*
* @param name Name of the new dynamic property
*
- * @exception IllegalArgumentException if name is null
- * @exception IllegalStateException if this DynaClass is currently
+ * @throws IllegalArgumentException if name is null
+ * @throws IllegalStateException if this DynaClass is currently
* restricted, so no new properties can be added
*/
public void add(String name);
@@ -56,8 +56,8 @@ public interface MutableDynaClass extend
* @param type Data type of the new dynamic property (null for no
* restrictions)
*
- * @exception IllegalArgumentException if name is null
- * @exception IllegalStateException if this DynaClass is currently
+ * @throws IllegalArgumentException if name is null
+ * @throws IllegalStateException if this DynaClass is currently
* restricted, so no new properties can be added
*/
public void add(String name, Class<?> type);
@@ -75,8 +75,8 @@ public interface MutableDynaClass extend
* @param writeable Set to <code>true</code> if this property value
* should be writeable
*
- * @exception IllegalArgumentException if name is null
- * @exception IllegalStateException if this DynaClass is currently
+ * @throws IllegalArgumentException if name is null
+ * @throws IllegalStateException if this DynaClass is currently
* restricted, so no new properties can be added
*/
public void add(String name, Class<?> type, boolean readable,
@@ -103,8 +103,8 @@ public interface MutableDynaClass extend
*
* @param name Name of the dynamic property to remove
*
- * @exception IllegalArgumentException if name is null
- * @exception IllegalStateException if this DynaClass is currently
+ * @throws IllegalArgumentException if name is null
+ * @throws IllegalStateException if this DynaClass is currently
* restricted, so no properties can be removed
*/
public void remove(String name);