提交 30bed7b5 编写于 作者: A Andy Clement

Corrected exception message inserts

上级 4a7f7bb2
......@@ -154,7 +154,9 @@ public class ExpressionState {
return new TypedValue(returnValue,TypeDescriptor.forObject(returnValue));
}
else {
throw new SpelException(SpelMessages.OPERATOR_NOT_SUPPORTED_BETWEEN_TYPES, op, left, right);
String leftType = (left==null?"null":left.getClass().getName());
String rightType = (right==null?"null":right.getClass().getName());
throw new SpelException(SpelMessages.OPERATOR_NOT_SUPPORTED_BETWEEN_TYPES, op, leftType, rightType);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册