commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Feig (JIRA)" <>
Subject [jira] Created: (BEANUTILS-256) getIndexedProperty() should javadoc IndexOutOufBoundsException
Date Thu, 02 Nov 2006 09:58:19 GMT
getIndexedProperty() should javadoc IndexOutOufBoundsException

                 Key: BEANUTILS-256
             Project: Commons BeanUtils
          Issue Type: Bug
    Affects Versions: 1.7.0
            Reporter: Torsten Feig
            Priority: Trivial

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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message