public class InvalidPropertyException extends FatalBeanException
Constructor and Description |
---|
InvalidPropertyException(Class<?> beanClass,
String propertyName,
String msg)
Create a new InvalidPropertyException.
|
InvalidPropertyException(Class<?> beanClass,
String propertyName,
String msg,
Throwable cause)
Create a new InvalidPropertyException.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getBeanClass()
Return the offending bean class.
|
String |
getPropertyName()
Return the name of the offending property.
|
equals, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public 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, Throwable cause)
beanClass
- the offending bean classpropertyName
- the offending propertymsg
- the detail messagecause
- the root cause