public class InvalidBeanPropertyException extends InvalidArgumentException
Constructor and Description |
---|
InvalidBeanPropertyException(java.lang.Class beanclass,
java.lang.String propname)
Create InvalidBeanPropertyException instance.
|
InvalidBeanPropertyException(java.lang.Class beanclass,
java.lang.String propname,
java.lang.String msg)
Create InvalidBeanPropertyException instance.
|
InvalidBeanPropertyException(java.lang.Class beanclass,
java.lang.String propname,
java.lang.String msg,
java.lang.Throwable cause)
Create InvalidBeanPropertyException instance.
|
InvalidBeanPropertyException(java.lang.Class beanclass,
java.lang.String propname,
java.lang.Throwable cause)
Create InvalidBeanPropertyException instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getBeanClass()
To get the bean class.
|
java.lang.String |
getInvalidPropertyName()
To get the name of the invalid property.
|
printEvaluationTrace, printEvaluationTrace, printEvaluationTrace, printStackTrace, printStackTrace
public InvalidBeanPropertyException(java.lang.Class beanclass, java.lang.String propname, java.lang.String msg, java.lang.Throwable cause)
beanclass
- the bean class.propname
- the invalid property name.msg
- the error message.cause
- the causing exception.public InvalidBeanPropertyException(java.lang.Class beanclass, java.lang.String propname, java.lang.String msg)
beanclass
- the bean class.propname
- the invalid property name.msg
- the error message.public InvalidBeanPropertyException(java.lang.Class beanclass, java.lang.String propname)
beanclass
- the bean class.propname
- the invalid property name.public InvalidBeanPropertyException(java.lang.Class beanclass, java.lang.String propname, java.lang.Throwable cause)
beanclass
- the bean class.propname
- the invalid property name.cause
- the causing exception.