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>&lt;map:selector type="error" src="....ExceptionSelector"&gt;<br/>
---   &lt;exception class="org.xml.sax.SAXException" name="sax" unroll="true"/&gt;
--- <br/>
---   &lt;exception name="not-found"
+++ <p>&lt;map:components&gt;<br/>
+++   &lt;map:selectors&gt;<br/>
+++       ...<br/>
+++     &lt;map:selector name="error"
+++ src="org.apache.cocoon.selection.ExceptionSelector"&gt;<br/>
+++       &lt;exception class="org.xml.sax.SAXException" name="sax"
+++ unroll="true"/&gt; <br/>
+++       &lt;exception name="not-found"
    class="org.apache.cocoon.ResourceNotFoundException"/&gt;<br/>
---   &lt;exception class="org.apache.cocoon.ProcessingException" unroll="true"/&gt;
+++       &lt;exception class="org.apache.cocoon.ProcessingException"
+++ unroll="true"/&gt; <br/>
+++       &lt;exception name="denied" class="java.security.SecurityException"/&gt;
    <br/>
---   &lt;exception name="denied" class="java.security.SecurityException"/&gt;<br/>
---   &lt;exception name="denied" class="my.comp.auth.AuthenticationFailure"/&gt;
--- <br/>
--- &lt;/map:selector&gt;</p>
+++       &lt;exception name="denied"
+++ class="my.comp.auth.AuthenticationFailure"/&gt; <br/>
+++     &lt;/map:selector&gt;<br/>
+++   &lt;/map:selectors&gt;<br/>
+++ &lt;/map:components&gt;</p>
    
    <p>This example shows several features :</p>
    
(16 equal lines skipped)