Uses of Class
org.springframework.expression.EvaluationException
Packages that use 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
Subclasses of EvaluationException in org.springframework.expressionModifier and TypeClassDescriptionclassThis exception wraps (as cause) a checked exception thrown by some method that SpEL invokes.Methods in org.springframework.expression that throw EvaluationExceptionModifier and TypeMethodDescriptionintCompare 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> @Nullable TEvaluate 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> @Nullable TEvaluate 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> @Nullable TExpression.getValue(EvaluationContext context, @Nullable Class<T> desiredResultType) Evaluate this expression in the provided context and return the result of evaluation.Expression.getValue(EvaluationContext context, @Nullable Object rootObject) Evaluate this expression in the provided context against the specified root object and return the result of evaluation.<T> @Nullable TExpression.getValue(EvaluationContext context, @Nullable Object rootObject, @Nullable Class<T> desiredResultType) Evaluate this expression in the provided context against the specified root object and return the result of evaluation.Expression.getValueType()Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)method using the default context.Expression.getValueType(@Nullable Object rootObject) Return the most general type that can be passed to theExpression.setValue(Object, Object)method using the default context.Expression.getValueType(EvaluationContext context) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)method for the given context.Expression.getValueType(EvaluationContext context, @Nullable 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(@Nullable 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, @Nullable 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.booleanExpression.isWritable(@Nullable Object rootObject) Determine if this expression can be written to, i.e.booleanExpression.isWritable(EvaluationContext context) Determine if this expression can be written to, i.e.booleanExpression.isWritable(EvaluationContext context, @Nullable Object rootObject) Determine if this expression can be written to, i.e.OperatorOverloader.operate(Operation operation, @Nullable Object leftOperand, @Nullable Object rightOperand) Perform the specified operation on the two operands, returning a result.booleanOperatorOverloader.overridesOperation(Operation operation, @Nullable Object leftOperand, @Nullable Object rightOperand) Returntrueif this operator overloader supports the specified operation on the two operands and should be invoked to handle it.voidSet this expression in the default context to the value provided.voidExpression.setValue(EvaluationContext context, @Nullable Object value) Set this expression in the provided context to the value provided.voidSet 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 EvaluationExceptionModifier and TypeMethodDescriptionCompositeStringExpression.getValue()<T> @Nullable T<T> @Nullable TCompositeStringExpression.getValue(@Nullable Object rootObject, @Nullable Class<T> desiredResultType) CompositeStringExpression.getValue(EvaluationContext context) <T> @Nullable TCompositeStringExpression.getValue(EvaluationContext context, @Nullable Class<T> expectedResultType) CompositeStringExpression.getValue(EvaluationContext context, @Nullable Object rootObject) <T> @Nullable TCompositeStringExpression.getValue(EvaluationContext context, @Nullable Object rootObject, @Nullable Class<T> desiredResultType) <T> @Nullable T<T> @Nullable T<T> @Nullable TLiteralExpression.getValue(EvaluationContext context, @Nullable Class<T> expectedResultType) LiteralExpression.getValue(EvaluationContext context, @Nullable Object rootObject) <T> @Nullable TLiteralExpression.getValue(EvaluationContext context, @Nullable Object rootObject, @Nullable Class<T> desiredResultType) Class<?> CompositeStringExpression.getValueType(@Nullable Object rootObject) Class<?> CompositeStringExpression.getValueType(EvaluationContext context, @Nullable Object rootObject) Class<?> LiteralExpression.getValueType(@Nullable Object rootObject) Class<?> LiteralExpression.getValueType(EvaluationContext context, @Nullable Object rootObject) CompositeStringExpression.getValueTypeDescriptor(@Nullable Object rootObject) CompositeStringExpression.getValueTypeDescriptor(EvaluationContext context, @Nullable Object rootObject) LiteralExpression.getValueTypeDescriptor(@Nullable Object rootObject) LiteralExpression.getValueTypeDescriptor(EvaluationContext context, @Nullable Object rootObject) booleanCompositeStringExpression.isWritable(@Nullable Object rootObject) booleanCompositeStringExpression.isWritable(EvaluationContext context, @Nullable Object rootObject) booleanLiteralExpression.isWritable(@Nullable Object rootObject) booleanLiteralExpression.isWritable(EvaluationContext context, @Nullable Object rootObject) voidvoidCompositeStringExpression.setValue(EvaluationContext context, @Nullable Object value) voidCompositeStringExpression.setValue(EvaluationContext context, @Nullable Object rootObject, @Nullable Object value) voidvoidLiteralExpression.setValue(EvaluationContext context, @Nullable Object value) voidLiteralExpression.setValue(EvaluationContext context, @Nullable Object rootObject, @Nullable Object value) -
Uses of EvaluationException in org.springframework.expression.spel
Subclasses of EvaluationException in org.springframework.expression.spelModifier and TypeClassDescriptionclassRoot exception for Spring EL related exceptions.Methods in org.springframework.expression.spel that throw EvaluationExceptionModifier 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 ObjectCompiledExpression.getValue(@Nullable Object target, @Nullable 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.booleanSpelNode.isWritable(ExpressionState expressionState) Determine if this expression node will support a setValue() call.voidSpelNode.setValue(ExpressionState expressionState, @Nullable 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 EvaluationExceptionModifier and TypeMethodDescriptionfinal TypedValueSpelNodeImpl.getTypedValue(ExpressionState expressionState) SpelNodeImpl.getValue(ExpressionState expressionState) protected final <T> @Nullable TSpelNodeImpl.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) 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 themultiplyoperator 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 TypedValueSpelNodeImpl.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 ValueRefCompoundExpression.getValueRef(ExpressionState state) protected ValueRefIndexer.getValueRef(ExpressionState state) protected ValueRefMethodReference.getValueRef(ExpressionState state) protected ValueRefProjection.getValueRef(ExpressionState state) PropertyOrFieldReference.getValueRef(ExpressionState state) protected ValueRefSelection.getValueRef(ExpressionState state) protected ValueRefSpelNodeImpl.getValueRef(ExpressionState state) booleanCompoundExpression.isWritable(ExpressionState state) booleanPropertyOrFieldReference.isWritable(ExpressionState state) booleanSpelNodeImpl.isWritable(ExpressionState expressionState) booleanPropertyOrFieldReference.isWritableProperty(String name, TypedValue contextObject, EvaluationContext evalContext) voidSpelNodeImpl.setValue(ExpressionState expressionState, @Nullable 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 specifiedSupplieron that node.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 EvaluationExceptionModifier and TypeMethodDescriptionSpelExpression.getValue()<T> @Nullable T<T> @Nullable TSpelExpression.getValue(EvaluationContext context) <T> @Nullable TSpelExpression.getValue(EvaluationContext context, @Nullable Class<T> expectedResultType) SpelExpression.getValue(EvaluationContext context, @Nullable Object rootObject) <T> @Nullable TSpelExpression.getValue(EvaluationContext context, @Nullable Object rootObject, @Nullable Class<T> expectedResultType) SpelExpression.getValueType()SpelExpression.getValueType(@Nullable Object rootObject) SpelExpression.getValueType(EvaluationContext context) SpelExpression.getValueType(EvaluationContext context, @Nullable Object rootObject) SpelExpression.getValueTypeDescriptor()SpelExpression.getValueTypeDescriptor(@Nullable Object rootObject) SpelExpression.getValueTypeDescriptor(EvaluationContext context) SpelExpression.getValueTypeDescriptor(EvaluationContext context, @Nullable Object rootObject) booleanSpelExpression.isWritable(@Nullable Object rootObject) booleanSpelExpression.isWritable(EvaluationContext context) booleanSpelExpression.isWritable(EvaluationContext context, @Nullable Object rootObject) voidvoidSpelExpression.setValue(EvaluationContext context, @Nullable Object value) voidSpelExpression.setValue(EvaluationContext context, @Nullable Object rootObject, @Nullable Object value) -
Uses of EvaluationException in org.springframework.expression.spel.support
Methods in org.springframework.expression.spel.support that throw EvaluationExceptionModifier and TypeMethodDescriptionstatic booleanReflectionHelper.convertAllMethodHandleArguments(TypeConverter converter, @Nullable Object[] arguments, MethodHandle methodHandle, @Nullable 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.StandardOperatorOverloader.operate(Operation operation, @Nullable Object leftOperand, @Nullable Object rightOperand) booleanStandardOperatorOverloader.overridesOperation(Operation operation, @Nullable Object leftOperand, @Nullable Object rightOperand)