# Uses of Class
org.springframework.expression.EvaluationException

Packages that use EvaluationException
Package
Description
org.springframework.expression
Core abstractions behind the Spring Expression Language.
org.springframework.expression.common
Common utility classes behind the Spring Expression Language.
org.springframework.expression.spel
SpEL's central implementation package.
org.springframework.expression.spel.ast
SpEL's abstract syntax tree.
org.springframework.expression.spel.standard
SpEL's standard parser implementation.
org.springframework.expression.spel.support
SpEL's default implementations for various core abstractions.

## Uses of EvaluationException in org.springframework.expression

Subclasses of EvaluationException in org.springframework.expression
Modifier and Type
Class
Description
`class`
`ExpressionInvocationTargetException`
This exception wraps (as cause) a checked exception thrown by some method that SpEL invokes.
Methods in org.springframework.expression that throw EvaluationException
Modifier and Type
Method
Description
`int`
TypeComparator.`compare(Object firstObject, Object secondObject)`
Compare two given objects.
`Class<?>`
TypeLocator.`findType(String typeName)`
Find a type by name.
`Object`
Expression.`getValue()`
Evaluate this expression in the default context and return the result of evaluation.
`<T> T`
Expression.`getValue(Class<T> desiredResultType)`
Evaluate this expression in the default context and return the result of evaluation.
`Object`
Expression.`getValue(Object rootObject)`
Evaluate this expression in the default context against the specified root object and return the result of evaluation.
`<T> T`
Expression.`getValue(Object rootObject, Class<T> desiredResultType)`
Evaluate this expression in the default context against the specified root object and return the result of evaluation.
`Object`
Expression.`getValue(EvaluationContext context)`
Evaluate this expression in the provided context and return the result of evaluation.
`<T> T`
Expression.`getValue(EvaluationContext context, Class<T> desiredResultType)`
Evaluate this expression in the provided context and return the result of evaluation.
`Object`
Expression.`getValue(EvaluationContext context, Object rootObject)`
Evaluate this expression in the provided context against the specified root object and return the result of evaluation.
`<T> T`
Expression.`getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType)`
Evaluate this expression in the provided context against the specified root object and return the result of evaluation.
`Class<?>`
Expression.`getValueType()`
Return the most general type that can be passed to the `Expression.setValue(EvaluationContext, Object)` method using the default context.
`Class<?>`
Expression.`getValueType(Object rootObject)`
Return the most general type that can be passed to the `Expression.setValue(Object, Object)` method using the default context.
`Class<?>`
Expression.`getValueType(EvaluationContext context)`
Return the most general type that can be passed to the `Expression.setValue(EvaluationContext, Object)` method for the given context.
`Class<?>`
Expression.`getValueType(EvaluationContext context, Object rootObject)`
Return the most general type that can be passed to the `Expression.setValue(EvaluationContext, Object, Object)` method for the given context.
`org.springframework.core.convert.TypeDescriptor`
Expression.`getValueTypeDescriptor()`
Return a descriptor for the most general type that can be passed to one of the `setValue(...)` methods using the default context.
`org.springframework.core.convert.TypeDescriptor`
Expression.`getValueTypeDescriptor(Object rootObject)`
Return a descriptor for the most general type that can be passed to the `Expression.setValue(Object, Object)` method using the default context.
`org.springframework.core.convert.TypeDescriptor`
Expression.`getValueTypeDescriptor(EvaluationContext context)`
Return a descriptor for the most general type that can be passed to the `Expression.setValue(EvaluationContext, Object)` method for the given context.
`org.springframework.core.convert.TypeDescriptor`
Expression.`getValueTypeDescriptor(EvaluationContext context, Object rootObject)`
Return a descriptor for the most general type that can be passed to the `Expression.setValue(EvaluationContext, Object, Object)` method for the given context.
`boolean`
Expression.`isWritable(Object rootObject)`
Determine if this expression can be written to, i.e.
`boolean`
Expression.`isWritable(EvaluationContext context)`
Determine if this expression can be written to, i.e.
`boolean`
Expression.`isWritable(EvaluationContext context, Object rootObject)`
Determine if this expression can be written to, i.e.
`Object`
OperatorOverloader.`operate(Operation operation, Object leftOperand, Object rightOperand)`
Perform the specified operation on the two operands, returning a result.
`boolean`
OperatorOverloader.`overridesOperation(Operation operation, Object leftOperand, Object rightOperand)`
Return `true` if this operator overloader supports the specified operation on the two operands and should be invoked to handle it.
`void`
Expression.`setValue(Object rootObject, Object value)`
Set this expression in the default context to the value provided.
`void`
Expression.`setValue(EvaluationContext context, Object value)`
Set this expression in the provided context to the value provided.
`void`
Expression.`setValue(EvaluationContext context, Object rootObject, Object value)`
Set this expression in the provided context to the value provided.

## Uses of EvaluationException in org.springframework.expression.common

Methods in org.springframework.expression.common that throw EvaluationException
Modifier and Type
Method
Description
`String`
CompositeStringExpression.`getValue()`
`<T> T`
CompositeStringExpression.`getValue(Class<T> expectedResultType)`
`String`
CompositeStringExpression.`getValue(Object rootObject)`
`<T> T`
CompositeStringExpression.`getValue(Object rootObject, Class<T> desiredResultType)`
`String`
CompositeStringExpression.`getValue(EvaluationContext context)`
`<T> T`
CompositeStringExpression.`getValue(EvaluationContext context, Class<T> expectedResultType)`
`String`
CompositeStringExpression.`getValue(EvaluationContext context, Object rootObject)`
`<T> T`
CompositeStringExpression.`getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType)`
`<T> T`
LiteralExpression.`getValue(Class<T> expectedResultType)`
`<T> T`
LiteralExpression.`getValue(Object rootObject, Class<T> desiredResultType)`
`<T> T`
LiteralExpression.`getValue(EvaluationContext context, Class<T> expectedResultType)`
`String`
LiteralExpression.`getValue(EvaluationContext context, Object rootObject)`
`<T> T`
LiteralExpression.`getValue(EvaluationContext context, Object rootObject, Class<T> desiredResultType)`
`Class<?>`
CompositeStringExpression.`getValueType(Object rootObject)`
`Class<?>`
CompositeStringExpression.`getValueType(EvaluationContext context, Object rootObject)`
`Class<?>`
LiteralExpression.`getValueType(Object rootObject)`
`Class<?>`
LiteralExpression.`getValueType(EvaluationContext context, Object rootObject)`
`org.springframework.core.convert.TypeDescriptor`
CompositeStringExpression.`getValueTypeDescriptor(Object rootObject)`
`org.springframework.core.convert.TypeDescriptor`
CompositeStringExpression.`getValueTypeDescriptor(EvaluationContext context, Object rootObject)`
`org.springframework.core.convert.TypeDescriptor`
LiteralExpression.`getValueTypeDescriptor(Object rootObject)`
`org.springframework.core.convert.TypeDescriptor`
LiteralExpression.`getValueTypeDescriptor(EvaluationContext context, Object rootObject)`
`boolean`
CompositeStringExpression.`isWritable(Object rootObject)`
`boolean`
CompositeStringExpression.`isWritable(EvaluationContext context, Object rootObject)`
`boolean`
LiteralExpression.`isWritable(Object rootObject)`
`boolean`
LiteralExpression.`isWritable(EvaluationContext context, Object rootObject)`
`void`
CompositeStringExpression.`setValue(Object rootObject, Object value)`
`void`
CompositeStringExpression.`setValue(EvaluationContext context, Object value)`
`void`
CompositeStringExpression.`setValue(EvaluationContext context, Object rootObject, Object value)`
`void`
LiteralExpression.`setValue(Object rootObject, Object value)`
`void`
LiteralExpression.`setValue(EvaluationContext context, Object value)`
`void`
LiteralExpression.`setValue(EvaluationContext context, Object rootObject, Object value)`

## Uses of EvaluationException in org.springframework.expression.spel

Subclasses of EvaluationException in org.springframework.expression.spel
Modifier and Type
Class
Description
`class`
`SpelEvaluationException`
Root exception for Spring EL related exceptions.
Methods in org.springframework.expression.spel that throw EvaluationException
Modifier and Type
Method
Description
`Object`
ExpressionState.`convertValue(Object value, org.springframework.core.convert.TypeDescriptor targetTypeDescriptor)`
`Object`
ExpressionState.`convertValue(TypedValue value, org.springframework.core.convert.TypeDescriptor targetTypeDescriptor)`
`Class<?>`
ExpressionState.`findType(String type)`
`TypedValue`
SpelNode.`getTypedValue(ExpressionState expressionState)`
Evaluate the expression node in the context of the supplied expression state and return the typed value.
`abstract Object`
CompiledExpression.`getValue(Object target, EvaluationContext context)`
Subclasses of CompiledExpression generated by SpelCompiler will provide an implementation of this method.
`Object`
SpelNode.`getValue(ExpressionState expressionState)`
Evaluate the expression node in the context of the supplied expression state and return the value.
`boolean`
SpelNode.`isWritable(ExpressionState expressionState)`
Determine if this expression node will support a setValue() call.
`TypedValue`
ExpressionState.`operate(Operation op, Object left, Object right)`
`void`
SpelNode.`setValue(ExpressionState expressionState, Object newValue)`
Evaluate the expression to a node and then set the new value on that node.

## Uses of EvaluationException in org.springframework.expression.spel.ast

Methods in org.springframework.expression.spel.ast that throw EvaluationException
Modifier and Type
Method
Description
`final TypedValue`
SpelNodeImpl.`getTypedValue(ExpressionState expressionState)`
`final Object`
SpelNodeImpl.`getValue(ExpressionState expressionState)`
`protected final <T> T`
SpelNodeImpl.`getValue(ExpressionState state, Class<T> desiredReturnType)`
`TypedValue`
Assign.`getValueInternal(ExpressionState state)`
`TypedValue`
BeanReference.`getValueInternal(ExpressionState state)`
`TypedValue`
CompoundExpression.`getValueInternal(ExpressionState state)`
Evaluates a compound expression.
`TypedValue`
ConstructorReference.`getValueInternal(ExpressionState state)`
Implements getValue() - delegating to the code for building an array or a simple type.
`TypedValue`
Elvis.`getValueInternal(ExpressionState state)`
Evaluate the condition and if neither null nor an empty String, return it.
`TypedValue`
FunctionReference.`getValueInternal(ExpressionState state)`
`TypedValue`
Indexer.`getValueInternal(ExpressionState state)`
`TypedValue`
InlineList.`getValueInternal(ExpressionState expressionState)`
`TypedValue`
InlineMap.`getValueInternal(ExpressionState expressionState)`
`TypedValue`
MethodReference.`getValueInternal(ExpressionState state)`
`TypedValue`
OpAnd.`getValueInternal(ExpressionState state)`
`TypedValue`
OpDec.`getValueInternal(ExpressionState state)`
`TypedValue`
OpDivide.`getValueInternal(ExpressionState state)`
`BooleanTypedValue`
OpEQ.`getValueInternal(ExpressionState state)`
`BooleanTypedValue`
OperatorBetween.`getValueInternal(ExpressionState state)`
Returns a boolean based on whether a value is in the range expressed.
`BooleanTypedValue`
OperatorInstanceof.`getValueInternal(ExpressionState state)`
Compare the left operand to see it is an instance of the type specified as the right operand.
`BooleanTypedValue`
OperatorMatches.`getValueInternal(ExpressionState state)`
Check the first operand matches the regex specified as the second operand.
`BooleanTypedValue`
OperatorNot.`getValueInternal(ExpressionState state)`
`TypedValue`
OperatorPower.`getValueInternal(ExpressionState state)`
`BooleanTypedValue`
OpGE.`getValueInternal(ExpressionState state)`
`BooleanTypedValue`
OpGT.`getValueInternal(ExpressionState state)`
`TypedValue`
OpInc.`getValueInternal(ExpressionState state)`
`BooleanTypedValue`
OpLE.`getValueInternal(ExpressionState state)`
`BooleanTypedValue`
OpLT.`getValueInternal(ExpressionState state)`
`TypedValue`
OpMinus.`getValueInternal(ExpressionState state)`
`TypedValue`
OpModulus.`getValueInternal(ExpressionState state)`
`TypedValue`
OpMultiply.`getValueInternal(ExpressionState state)`
Implements the `multiply` operator directly here for certain types of supported operands and otherwise delegates to any registered overloader for types not supported here.
`BooleanTypedValue`
OpNE.`getValueInternal(ExpressionState state)`
`BooleanTypedValue`
OpOr.`getValueInternal(ExpressionState state)`
`TypedValue`
OpPlus.`getValueInternal(ExpressionState state)`
`TypedValue`
Projection.`getValueInternal(ExpressionState state)`
`TypedValue`
PropertyOrFieldReference.`getValueInternal(ExpressionState state)`
`TypedValue`
QualifiedIdentifier.`getValueInternal(ExpressionState state)`
`TypedValue`
Selection.`getValueInternal(ExpressionState state)`
`abstract TypedValue`
SpelNodeImpl.`getValueInternal(ExpressionState expressionState)`
`TypedValue`
Ternary.`getValueInternal(ExpressionState state)`
Evaluate the condition and if true evaluate the first alternative, otherwise evaluate the second alternative.
`TypedValue`
TypeReference.`getValueInternal(ExpressionState state)`
`protected ValueRef`
CompoundExpression.`getValueRef(ExpressionState state)`
`protected ValueRef`
Indexer.`getValueRef(ExpressionState state)`
`protected ValueRef`
MethodReference.`getValueRef(ExpressionState state)`
`protected ValueRef`
Projection.`getValueRef(ExpressionState state)`
`ValueRef`
PropertyOrFieldReference.`getValueRef(ExpressionState state)`
`protected ValueRef`
Selection.`getValueRef(ExpressionState state)`
`protected ValueRef`
SpelNodeImpl.`getValueRef(ExpressionState state)`
`boolean`
CompoundExpression.`isWritable(ExpressionState state)`
`boolean`
PropertyOrFieldReference.`isWritable(ExpressionState state)`
`boolean`
SpelNodeImpl.`isWritable(ExpressionState expressionState)`
`boolean`
PropertyOrFieldReference.`isWritableProperty(String name, TypedValue contextObject, EvaluationContext evalContext)`
`void`
SpelNodeImpl.`setValue(ExpressionState expressionState, Object newValue)`
`TypedValue`
CompoundExpression.`setValueInternal(ExpressionState state, Supplier<TypedValue> valueSupplier)`
`TypedValue`
Indexer.`setValueInternal(ExpressionState state, Supplier<TypedValue> valueSupplier)`
`TypedValue`
PropertyOrFieldReference.`setValueInternal(ExpressionState state, Supplier<TypedValue> valueSupplier)`
`TypedValue`
SpelNodeImpl.`setValueInternal(ExpressionState expressionState, Supplier<TypedValue> valueSupplier)`
Evaluate the expression to a node and then set the new value created by the specified `Supplier` on that node.
`TypedValue`
VariableReference.`setValueInternal(ExpressionState state, Supplier<TypedValue> valueSupplier)`

## Uses of EvaluationException in org.springframework.expression.spel.standard

Methods in org.springframework.expression.spel.standard that throw EvaluationException
Modifier and Type
Method
Description
`Object`
SpelExpression.`getValue()`
`<T> T`
SpelExpression.`getValue(Class<T> expectedResultType)`
`Object`
SpelExpression.`getValue(Object rootObject)`
`<T> T`
SpelExpression.`getValue(Object rootObject, Class<T> expectedResultType)`
`Object`
SpelExpression.`getValue(EvaluationContext context)`
`<T> T`
SpelExpression.`getValue(EvaluationContext context, Class<T> expectedResultType)`
`Object`
SpelExpression.`getValue(EvaluationContext context, Object rootObject)`
`<T> T`
SpelExpression.`getValue(EvaluationContext context, Object rootObject, Class<T> expectedResultType)`
`Class<?>`
SpelExpression.`getValueType()`
`Class<?>`
SpelExpression.`getValueType(Object rootObject)`
`Class<?>`
SpelExpression.`getValueType(EvaluationContext context)`
`Class<?>`
SpelExpression.`getValueType(EvaluationContext context, Object rootObject)`
`org.springframework.core.convert.TypeDescriptor`
SpelExpression.`getValueTypeDescriptor()`
`org.springframework.core.convert.TypeDescriptor`
SpelExpression.`getValueTypeDescriptor(Object rootObject)`
`org.springframework.core.convert.TypeDescriptor`
SpelExpression.`getValueTypeDescriptor(EvaluationContext context)`
`org.springframework.core.convert.TypeDescriptor`
SpelExpression.`getValueTypeDescriptor(EvaluationContext context, Object rootObject)`
`boolean`
SpelExpression.`isWritable(Object rootObject)`
`boolean`
SpelExpression.`isWritable(EvaluationContext context)`
`boolean`
SpelExpression.`isWritable(EvaluationContext context, Object rootObject)`
`void`
SpelExpression.`setValue(Object rootObject, Object value)`
`void`
SpelExpression.`setValue(EvaluationContext context, Object value)`
`void`
SpelExpression.`setValue(EvaluationContext context, Object rootObject, Object value)`

## Uses of EvaluationException in org.springframework.expression.spel.support

Methods in org.springframework.expression.spel.support that throw EvaluationException
Modifier and Type
Method
Description
`static boolean`
ReflectionHelper.`convertAllMethodHandleArguments(TypeConverter converter, Object[] arguments, MethodHandle methodHandle, Integer varargsPosition)`
Convert the supplied set of arguments into the parameter types of the supplied `MethodHandle`, taking the varargs position into account.
`Class<?>`
StandardTypeLocator.`findType(String typeName)`
Find a (possibly unqualified) type reference, first using the type name as-is, and then trying any registered import prefixes if the type name cannot be found.
`Object`
StandardOperatorOverloader.`operate(Operation operation, Object leftOperand, Object rightOperand)`
`boolean`
StandardOperatorOverloader.`overridesOperation(Operation operation, Object leftOperand, Object rightOperand)`