public class InvalidPropertyException extends FatalBeanException
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.
|
contains, getMessage, getMostSpecificCause, getRootCause
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, @Nullable java.lang.Throwable cause)
beanClass
- the offending bean classpropertyName
- the offending propertymsg
- the detail messagecause
- the root cause