From: markt Date: Fri, 15 Jan 2010 19:55:31 +0000 (+0000) Subject: TCK failure. Make sure we throw an ELException, not an IAE. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=bd6e14b24a3950c07c43807c7ee372e5f0999859;p=tomcat7.0 TCK failure. Make sure we throw an ELException, not an IAE. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@899792 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/java/org/apache/el/parser/AstValue.java b/java/org/apache/el/parser/AstValue.java index e0ff8d5d7..e1e434b79 100644 --- a/java/org/apache/el/parser/AstValue.java +++ b/java/org/apache/el/parser/AstValue.java @@ -204,6 +204,8 @@ public final class AstValue extends SimpleNode { result = m.invoke(t.base, paramValues); } catch (IllegalAccessException iae) { throw new ELException(iae); + } catch (IllegalArgumentException iae) { + throw new ELException(iae); } catch (InvocationTargetException ite) { throw new ELException(ite.getCause()); }