Uses of Class
org.springframework.expression.EvaluationException
Package
Description
Core abstractions behind the Spring Expression Language.
Common utility classes behind the Spring Expression Language.
SpEL's central implementation package.
SpEL's abstract syntax tree.
SpEL's standard parser implementation.
SpEL's default implementations for various core abstractions.
-
Uses of EvaluationException in org.springframework.expression
Modifier and TypeClassDescriptionclass
This exception wraps (as cause) a checked exception thrown by some method that SpEL invokes.Modifier and TypeMethodDescriptionint
Compare two given objects.Class<?>
Find a type by name.Expression.getValue()
Evaluate this expression in the default context and return the result of evaluation.<T> T
Evaluate this expression in the default context and return the result of evaluation.Evaluate this expression in the default context against the specified root object and return the result of evaluation.<T> T
Evaluate this expression in the default context against the specified root object and return the result of evaluation.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.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 theExpression.setValue(EvaluationContext, Object)
method using the default context.Class<?>
Expression.getValueType
(Object rootObject) Return the most general type that can be passed to theExpression.setValue(Object, Object)
method using the default context.Class<?>
Expression.getValueType
(EvaluationContext context) Return the most general type that can be passed to theExpression.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 theExpression.setValue(EvaluationContext, Object, Object)
method for the given context.Expression.getValueTypeDescriptor()
Return a descriptor for the most general type that can be passed to one of thesetValue(...)
methods using the default context.Expression.getValueTypeDescriptor
(Object rootObject) Return a descriptor for the most general type that can be passed to theExpression.setValue(Object, Object)
method using the default context.Expression.getValueTypeDescriptor
(EvaluationContext context) Return a descriptor for the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)
method for the given context.Expression.getValueTypeDescriptor
(EvaluationContext context, Object rootObject) Return a descriptor for the most general type that can be passed to theExpression.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.Perform the specified operation on the two operands, returning a result.boolean
OperatorOverloader.overridesOperation
(Operation operation, Object leftOperand, Object rightOperand) Returntrue
if this operator overloader supports the specified operation on the two operands and should be invoked to handle it.void
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
Modifier and TypeMethodDescriptionCompositeStringExpression.getValue()
<T> T
<T> T
CompositeStringExpression.getValue
(EvaluationContext context) <T> T
CompositeStringExpression.getValue
(EvaluationContext context, Class<T> expectedResultType) CompositeStringExpression.getValue
(EvaluationContext context, Object rootObject) <T> T
CompositeStringExpression.getValue
(EvaluationContext context, Object rootObject, Class<T> desiredResultType) <T> T
<T> T
<T> T
LiteralExpression.getValue
(EvaluationContext context, Class<T> expectedResultType) 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) CompositeStringExpression.getValueTypeDescriptor
(Object rootObject) CompositeStringExpression.getValueTypeDescriptor
(EvaluationContext context, Object rootObject) LiteralExpression.getValueTypeDescriptor
(Object rootObject) 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
void
CompositeStringExpression.setValue
(EvaluationContext context, Object value) void
CompositeStringExpression.setValue
(EvaluationContext context, Object rootObject, Object value) void
void
LiteralExpression.setValue
(EvaluationContext context, Object value) void
LiteralExpression.setValue
(EvaluationContext context, Object rootObject, Object value) -
Uses of EvaluationException in org.springframework.expression.spel
Modifier and TypeClassDescriptionclass
Root exception for Spring EL related exceptions.Modifier and TypeMethodDescriptionExpressionState.convertValue
(Object value, TypeDescriptor targetTypeDescriptor) ExpressionState.convertValue
(TypedValue value, TypeDescriptor targetTypeDescriptor) Class<?>
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.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.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
Modifier and TypeMethodDescriptionfinal TypedValue
SpelNodeImpl.getTypedValue
(ExpressionState expressionState) final Object
SpelNodeImpl.getValue
(ExpressionState expressionState) protected final <T> T
SpelNodeImpl.getValue
(ExpressionState state, Class<T> desiredReturnType) Assign.getValueInternal
(ExpressionState state) BeanReference.getValueInternal
(ExpressionState state) CompoundExpression.getValueInternal
(ExpressionState state) Evaluates a compound expression.ConstructorReference.getValueInternal
(ExpressionState state) Implements getValue() - delegating to the code for building an array or a simple type.Elvis.getValueInternal
(ExpressionState state) Evaluate the condition and if neither null nor an empty String, return it.FunctionReference.getValueInternal
(ExpressionState state) Indexer.getValueInternal
(ExpressionState state) InlineList.getValueInternal
(ExpressionState expressionState) InlineMap.getValueInternal
(ExpressionState expressionState) MethodReference.getValueInternal
(ExpressionState state) OpAnd.getValueInternal
(ExpressionState state) OpDec.getValueInternal
(ExpressionState state) OpDivide.getValueInternal
(ExpressionState state) OpEQ.getValueInternal
(ExpressionState state) OperatorBetween.getValueInternal
(ExpressionState state) Returns a boolean based on whether a value is in the range expressed.OperatorInstanceof.getValueInternal
(ExpressionState state) Compare the left operand to see it is an instance of the type specified as the right operand.OperatorMatches.getValueInternal
(ExpressionState state) Check the first operand matches the regex specified as the second operand.OperatorNot.getValueInternal
(ExpressionState state) OperatorPower.getValueInternal
(ExpressionState state) OpGE.getValueInternal
(ExpressionState state) OpGT.getValueInternal
(ExpressionState state) OpInc.getValueInternal
(ExpressionState state) OpLE.getValueInternal
(ExpressionState state) OpLT.getValueInternal
(ExpressionState state) OpMinus.getValueInternal
(ExpressionState state) OpModulus.getValueInternal
(ExpressionState state) OpMultiply.getValueInternal
(ExpressionState state) Implements themultiply
operator directly here for certain types of supported operands and otherwise delegates to any registered overloader for types not supported here.OpNE.getValueInternal
(ExpressionState state) OpOr.getValueInternal
(ExpressionState state) OpPlus.getValueInternal
(ExpressionState state) Projection.getValueInternal
(ExpressionState state) PropertyOrFieldReference.getValueInternal
(ExpressionState state) QualifiedIdentifier.getValueInternal
(ExpressionState state) Selection.getValueInternal
(ExpressionState state) abstract TypedValue
SpelNodeImpl.getValueInternal
(ExpressionState expressionState) Ternary.getValueInternal
(ExpressionState state) Evaluate the condition and if true evaluate the first alternative, otherwise evaluate the second alternative.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) 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) CompoundExpression.setValueInternal
(ExpressionState state, Supplier<TypedValue> valueSupplier) Indexer.setValueInternal
(ExpressionState state, Supplier<TypedValue> valueSupplier) PropertyOrFieldReference.setValueInternal
(ExpressionState state, Supplier<TypedValue> valueSupplier) SpelNodeImpl.setValueInternal
(ExpressionState expressionState, Supplier<TypedValue> valueSupplier) Evaluate the expression to a node and then set the new value created by the specifiedSupplier
on that node.VariableReference.setValueInternal
(ExpressionState state, Supplier<TypedValue> valueSupplier) -
Uses of EvaluationException in org.springframework.expression.spel.standard
Modifier and TypeMethodDescriptionSpelExpression.getValue()
<T> T
<T> T
SpelExpression.getValue
(EvaluationContext context) <T> T
SpelExpression.getValue
(EvaluationContext context, Class<T> expectedResultType) 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) SpelExpression.getValueTypeDescriptor()
SpelExpression.getValueTypeDescriptor
(Object rootObject) SpelExpression.getValueTypeDescriptor
(EvaluationContext context) SpelExpression.getValueTypeDescriptor
(EvaluationContext context, Object rootObject) boolean
SpelExpression.isWritable
(Object rootObject) boolean
SpelExpression.isWritable
(EvaluationContext context) boolean
SpelExpression.isWritable
(EvaluationContext context, Object rootObject) void
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
Modifier and TypeMethodDescriptionstatic boolean
ReflectionHelper.convertAllMethodHandleArguments
(TypeConverter converter, Object[] arguments, MethodHandle methodHandle, Integer varargsPosition) Convert the supplied set of arguments into the parameter types of the suppliedMethodHandle
, taking the varargs position into account.Class<?>
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.boolean
StandardOperatorOverloader.overridesOperation
(Operation operation, Object leftOperand, Object rightOperand)