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)