You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by re...@apache.org on 2008/06/24 17:39:14 UTC

svn commit: r671216 - /cocoon/whiteboard/corona/trunk/corona-sample/src/main/resources/COB-INF/sitemap.xmap

Author: reinhard
Date: Tue Jun 24 08:39:13 2008
New Revision: 671216

URL: http://svn.apache.org/viewvc?rev=671216&view=rev
Log:
check for "Custom-Exception" in handle-errors section

Modified:
    cocoon/whiteboard/corona/trunk/corona-sample/src/main/resources/COB-INF/sitemap.xmap

Modified: cocoon/whiteboard/corona/trunk/corona-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/whiteboard/corona/trunk/corona-sample/src/main/resources/COB-INF/sitemap.xmap?rev=671216&r1=671215&r2=671216&view=diff
==============================================================================
--- cocoon/whiteboard/corona/trunk/corona-sample/src/main/resources/COB-INF/sitemap.xmap (original)
+++ cocoon/whiteboard/corona/trunk/corona-sample/src/main/resources/COB-INF/sitemap.xmap Tue Jun 24 08:39:13 2008
@@ -306,6 +306,10 @@
           <map:generate src="error-handling/404.xml" />
           <map:serialize type="xhtml" status-code="404" />        
         </map:when>
+        <map:when ends-with="CustomException">
+          <map:generate src="error-handling/500.xml" />
+          <map:serialize type="xhtml" status-code="500" />
+        </map:when>        
         <map:otherwise>
           <map:generate type="exception" />
           <map:serialize type="xml" status-code="500" />