Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mismatch between Javadoc and method signture BeanWrapper.getPropertyDescriptor(String) - throws clause [SPR-5650] #10321

Closed
spring-projects-issues opened this issue Apr 3, 2009 · 1 comment
Assignees
Labels
type: documentation A documentation task type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Oleksandr Alesinskyy opened SPR-5650 and commented

/**
 * Obtain the property descriptor for a specific property
 * of the wrapped object.
 * @param propertyName the property to obtain the descriptor for
 * (may be a nested path, but no indexed/mapped property)
 * @return the property descriptor for the specified property
 * @throws  InvalidPropertyException if there is no such property 
 */
PropertyDescriptor getPropertyDescriptor(String propertyName) throws  BeansException ;

Affects: 2.5.6

@spring-projects-issues
Copy link
Collaborator Author

Juergen Hoeller commented

Since InvalidPropertyException is a subclass of BeansException, this wasn't really wrong... but admittedly confusing. I've fixed this for Spring 3.0.

Juergen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation task type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants