public class InvalidPropertyException extends FatalBeanException
| 构造器和说明 |
|---|
InvalidPropertyException(Class<?> beanClass,
String propertyName,
String msg)
Create a new InvalidPropertyException.
|
InvalidPropertyException(Class<?> beanClass,
String propertyName,
String msg,
Throwable cause)
Create a new InvalidPropertyException.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Class<?> |
getBeanClass()
Return the offending bean class.
|
String |
getPropertyName()
Return the name of the offending property.
|
contains, getMessage, getMostSpecificCause, getRootCausepublic InvalidPropertyException(Class<?> beanClass, String propertyName, String msg)
beanClass - the offending bean classpropertyName - the offending propertymsg - the detail messagepublic InvalidPropertyException(Class<?> beanClass, String propertyName, String msg, @Nullable Throwable cause)
beanClass - the offending bean classpropertyName - the offending propertymsg - the detail messagecause - the root cause