From bd6e14b24a3950c07c43807c7ee372e5f0999859 Mon Sep 17 00:00:00 2001 From: markt Date: Fri, 15 Jan 2010 19:55:31 +0000 Subject: [PATCH] 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 --- java/org/apache/el/parser/AstValue.java | 2 ++ 1 file changed, 2 insertions(+) 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()); } -- 2.11.0