You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2009/04/06 09:51:57 UTC

svn commit: r762243 - /incubator/click/trunk/click/mock/src/org/apache/click/MockContainer.java

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);
         }