tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r899792 - /tomcat/trunk/java/org/apache/el/parser/AstValue.java
Date Fri, 15 Jan 2010 19:55:31 GMT
Author: markt
Date: Fri Jan 15 19:55:31 2010
New Revision: 899792

URL: http://svn.apache.org/viewvc?rev=899792&view=rev
Log:
TCK failure. Make sure we throw an ELException, not an IAE.

Modified:
    tomcat/trunk/java/org/apache/el/parser/AstValue.java

Modified: tomcat/trunk/java/org/apache/el/parser/AstValue.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/el/parser/AstValue.java?rev=899792&r1=899791&r2=899792&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/el/parser/AstValue.java (original)
+++ tomcat/trunk/java/org/apache/el/parser/AstValue.java Fri Jan 15 19:55:31 2010
@@ -204,6 +204,8 @@
             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());
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message