From f484db7a97aeb414cef37255f591de696e1d601a Mon Sep 17 00:00:00 2001 From: markt Date: Mon, 24 Dec 2007 15:51:53 +0000 Subject: [PATCH] Fix bug 43944. Use a message that exists. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@606704 13f79535-47bb-0310-9956-ffa450edef68 --- java/org/apache/el/lang/ELArithmetic.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/org/apache/el/lang/ELArithmetic.java b/java/org/apache/el/lang/ELArithmetic.java index 752a6e32c..f78fea3a1 100644 --- a/java/org/apache/el/lang/ELArithmetic.java +++ b/java/org/apache/el/lang/ELArithmetic.java @@ -364,8 +364,8 @@ public abstract class ELArithmetic { return coerce(new Short((short) ((Character) obj).charValue())); } - throw new IllegalArgumentException(MessageFactory.get("el.convert", obj, - objType)); + throw new IllegalArgumentException(MessageFactory.get("error.convert", + obj, objType, "Number")); } protected abstract Number coerce(final String str); -- 2.11.0