org.exparity.beans.BeanPropertyNotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of exparity-bean Show documentation
Show all versions of exparity-bean Show documentation
A Java library of bean utilities for manipulating and inspecting Java classes implementing the Java Beans standard
package org.exparity.beans;
/**
* Exception raised when an explicitly requested bean property is not found on a {@link Bean}, {@link Graph}, or {@link Type}
*
* @author Stewart Bissett
*/
public class BeanPropertyNotFoundException extends BeanPropertyException {
private static final long serialVersionUID = 8254059732935930954L;
public BeanPropertyNotFoundException(final Class> type, final String propertyName) {
super("Bean property '" + propertyName + "' not found on '" + type.getCanonicalName() + "'");
}
}