Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.7.0
-
None
Description
PropertyUtilsBean.getIndexedProperty()'s javadoc declares to throw ArrayIndexOutOfBoundsException, which is correct since the code can access an array. But it can also access a list and therefor throw an IndexOutOufBoundsException, so it should be mentioned in the javadoc as well. Since ArrayIndexOutOfBoundsException is a variation of IndexOutOufBoundsException with essentially the same meaning, one could limit oneself to IndexOutOufBoundsException.