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(Class<?> beanClass,
String propertyName)
Create a new NullValueInNestedPathException.
|
NullValueInNestedPathException(Class<?> beanClass,
String propertyName,
String msg)
Create a new NullValueInNestedPathException.
|
NullValueInNestedPathException(Class<?> beanClass,
String propertyName,
String msg,
Throwable cause)
Create a new NullValueInNestedPathException.
|
getBeanClass, getPropertyName
equals, hashCode
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NullValueInNestedPathException(Class<?> beanClass, String propertyName)
beanClass
- the offending bean classpropertyName
- the offending propertypublic NullValueInNestedPathException(Class<?> beanClass, String propertyName, String msg)
beanClass
- the offending bean classpropertyName
- the offending propertymsg
- the detail messagepublic NullValueInNestedPathException(Class<?> beanClass, String propertyName, String msg, Throwable cause)
beanClass
- the offending bean classpropertyName
- the offending propertymsg
- the detail messagecause
- the root cause