From: markt Date: Mon, 24 Dec 2007 15:51:53 +0000 (+0000) Subject: Fix bug 43944. Use a message that exists. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f484db7a97aeb414cef37255f591de696e1d601a;p=tomcat7.0 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 --- 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);