public class ValueCoercionException extends EvaluationException
| Constructor and Description |
|---|
ValueCoercionException(Class contextClass,
String property,
Object value,
Class targetClass)
Creates a new property not found exception
|
ValueCoercionException(Class contextClass,
String property,
Object value,
Class targetClass,
Throwable cause)
Creates a new property not found exception
|
| Modifier and Type | Method and Description |
|---|---|
Class |
getTargetClass() |
Object |
getValue() |
getContextClass, getExpressionStringaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ValueCoercionException(Class contextClass, String property, Object value, Class targetClass)
contextClass - the class of object upon which coercion was attemptedproperty - the property that could not be coercedvalue - the value that could not be coercedtargetClass - the class the value could not be coerced topublic ValueCoercionException(Class contextClass, String property, Object value, Class targetClass, Throwable cause)
contextClass - the class of object upon which coercion was attemptedproperty - the property that could not be coercedvalue - the value that could not be coercedtargetClass - the class the value could not be coerced tocause - root cause of the failure