public class InvalidPropertyException extends FatalBeanException
Modifier and Type | Field and Description |
---|---|
private java.lang.Class<?> |
beanClass |
private java.lang.String |
propertyName |
Constructor and Description |
---|
InvalidPropertyException(java.lang.Class<?> beanClass,
java.lang.String propertyName,
java.lang.String msg)
Create a new InvalidPropertyException.
|
InvalidPropertyException(java.lang.Class<?> beanClass,
java.lang.String propertyName,
java.lang.String msg,
java.lang.Throwable cause)
Create a new InvalidPropertyException.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getBeanClass()
Return the offending bean class.
|
java.lang.String |
getPropertyName()
Return the name of the offending property.
|
equals, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
private java.lang.Class<?> beanClass
private java.lang.String propertyName
public InvalidPropertyException(java.lang.Class<?> beanClass, java.lang.String propertyName, java.lang.String msg)
beanClass
- the offending bean classpropertyName
- the offending propertymsg
- the detail messagepublic InvalidPropertyException(java.lang.Class<?> beanClass, java.lang.String propertyName, java.lang.String msg, java.lang.Throwable cause)
beanClass
- the offending bean classpropertyName
- the offending propertymsg
- the detail messagecause
- the root cause