Re: Handling file not found errors

2008-10-10 Thread Alexander Daniel
On 10.10.2008, at 12:57, Derek Hohls wrote: I have: map:selector name=exception src=org.apache.cocoon.selection.ExceptionSelector exception name=not-found class=org.apache.cocoon.ResourceNotFoundException/ exception name=file-not-found class=java.io.FileNotFoundException/ /map:selector

Handling file not found errors

2008-10-10 Thread Derek Hohls
Using Cocoon 2.1.8 I am displaying data from a database that, in theory, contains URL links to files on the local server. Occasionally, for various reasons, the files are not available. At the moment, Cocoon returns an informative - but ugly - error page: Resource not found

Re: Handling file not found errors

2008-10-10 Thread Derek Hohls
Thanks Alexander I know I do not quite grok this yet... I have: map:selector name=exception src=org.apache.cocoon.selection.ExceptionSelector exception name=not-found class=org.apache.cocoon.ResourceNotFoundException/ exception name=file-not-found class=java.io.FileNotFoundException/

Re: Handling file not found errors

2008-10-10 Thread Alexander Daniel
On 10.10.2008, at 10:48, Derek Hohls wrote: Using Cocoon 2.1.8 I am displaying data from a database that, in theory, contains URL links to files on the local server. Occasionally, for various reasons, the files are not available. At the moment, Cocoon returns an informative - but ugly -