click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r762243 - /incubator/click/trunk/click/mock/src/org/apache/click/MockContainer.java
Date Mon, 06 Apr 2009 07:51:57 GMT
Author: sabob
Date: Mon Apr  6 07:51:57 2009
New Revision: 762243

URL: http://svn.apache.org/viewvc?rev=762243&view=rev
Log:
don't wrap runtime exceptions

Modified:
    incubator/click/trunk/click/mock/src/org/apache/click/MockContainer.java

Modified: incubator/click/trunk/click/mock/src/org/apache/click/MockContainer.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/mock/src/org/apache/click/MockContainer.java?rev=762243&r1=762242&r2=762243&view=diff
==============================================================================
--- incubator/click/trunk/click/mock/src/org/apache/click/MockContainer.java (original)
+++ incubator/click/trunk/click/mock/src/org/apache/click/MockContainer.java Mon Apr  6 07:51:57
2009
@@ -481,6 +481,8 @@
             getRequest().setServletPath(servletPath);
             getClickServlet().service(request, getResponse());
             return getPage();
+        } catch (RuntimeException ex) {
+            throw ex;
         } catch (Exception ex) {
             throw new CleanRuntimeException("MockContainer threw exception", ex);
         }



Mime
View raw message