TCK failure. Make sure we throw an ELException, not an IAE.
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 15 Jan 2010 19:55:31 +0000 (19:55 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Fri, 15 Jan 2010 19:55:31 +0000 (19:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@899792 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/el/parser/AstValue.java

index e0ff8d5..e1e434b 100644 (file)
@@ -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());
         }