public class NullValueInNestedPathException extends InvalidPropertyException
For example, navigating "spouse.age" could fail because the spouse property of the target object has a null value.
Constructor and Description |
---|
NullValueInNestedPathException(java.lang.Class<?> beanClass,
java.lang.String propertyName)
Create a new NullValueInNestedPathException.
|
NullValueInNestedPathException(java.lang.Class<?> beanClass,
java.lang.String propertyName,
java.lang.String msg)
Create a new NullValueInNestedPathException.
|
getBeanClass, getPropertyName
equals, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
public NullValueInNestedPathException(java.lang.Class<?> beanClass, java.lang.String propertyName)
beanClass
- the offending bean classpropertyName
- the offending propertypublic NullValueInNestedPathException(java.lang.Class<?> beanClass, java.lang.String propertyName, java.lang.String msg)
beanClass
- the offending bean classpropertyName
- the offending propertymsg
- the detail message