You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2009/02/03 21:52:38 UTC
[DAISY] Updated: ExceptionSelector
A document has been updated:
http://cocoon.zones.apache.org/daisy/documentation/931.html
Document ID: 931
Branch: main
Language: default
Name: ExceptionSelector (unchanged)
Document Type: Sitemap Component (unchanged)
Updated on: 11/24/08 12:53:54 PM
Updated by: Felix Knecht
A new version has been created, state: publish
Parts
=====
Long description
----------------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 1384 bytes (previous version: 1177 bytes)
Content diff:
(2 equal lines skipped)
<p>Example configuration :</p>
--- <p><map:selector type="error" src="....ExceptionSelector"><br/>
--- <exception class="org.xml.sax.SAXException" name="sax" unroll="true"/>
--- <br/>
--- <exception name="not-found"
+++ <p><map:components><br/>
+++ <map:selectors><br/>
+++ ...<br/>
+++ <map:selector name="error"
+++ src="org.apache.cocoon.selection.ExceptionSelector"><br/>
+++ <exception class="org.xml.sax.SAXException" name="sax"
+++ unroll="true"/> <br/>
+++ <exception name="not-found"
class="org.apache.cocoon.ResourceNotFoundException"/><br/>
--- <exception class="org.apache.cocoon.ProcessingException" unroll="true"/>
+++ <exception class="org.apache.cocoon.ProcessingException"
+++ unroll="true"/> <br/>
+++ <exception name="denied" class="java.security.SecurityException"/>
<br/>
--- <exception name="denied" class="java.security.SecurityException"/><br/>
--- <exception name="denied" class="my.comp.auth.AuthenticationFailure"/>
--- <br/>
--- </map:selector></p>
+++ <exception name="denied"
+++ class="my.comp.auth.AuthenticationFailure"/> <br/>
+++ </map:selector><br/>
+++ </map:selectors><br/>
+++ </map:components></p>
<p>This example shows several features :</p>
(16 equal lines skipped)