public class ValueCoercionException extends EvaluationException
Constructor and Description |
---|
ValueCoercionException(java.lang.Class<?> contextClass,
java.lang.String property,
java.lang.Object value,
java.lang.Class<?> targetClass)
Creates a new property not found exception
|
ValueCoercionException(java.lang.Class<?> contextClass,
java.lang.String property,
java.lang.Object value,
java.lang.Class<?> targetClass,
java.lang.Throwable cause)
Creates a new property not found exception
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getTargetClass() |
java.lang.Object |
getValue() |
getContextClass, getExpressionString
public ValueCoercionException(java.lang.Class<?> contextClass, java.lang.String property, java.lang.Object value, java.lang.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(java.lang.Class<?> contextClass, java.lang.String property, java.lang.Object value, java.lang.Class<?> targetClass, java.lang.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