Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 23426 invoked from network); 31 Oct 2003 18:32:30 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 31 Oct 2003 18:32:30 -0000 Received: (qmail 90893 invoked by uid 500); 31 Oct 2003 18:32:12 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 90867 invoked by uid 500); 31 Oct 2003 18:32:12 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 90854 invoked from network); 31 Oct 2003 18:32:11 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by daedalus.apache.org with SMTP; 31 Oct 2003 18:32:11 -0000 Received: (qmail 31697 invoked by uid 0); 31 Oct 2003 18:32:14 -0000 Received: from 80.109.24.35 by www41.gmx.net with HTTP; Fri, 31 Oct 2003 19:32:15 +0100 (MET) Date: Fri, 31 Oct 2003 19:32:15 +0100 (MET) From: "Peter Brant" To: users@cocoon.apache.org MIME-Version: 1.0 Subject: Handling non-Exception Throwables with handle-errors X-Priority: 3 (Normal) X-Authenticated: #17965405 Message-ID: <27620.1067625135@www41.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, I've noticed that any Throwable that is not an Exception is not handled with the error handler defined in the handle-errors sitemap fragment. The result is a blank page with no indication anything went wrong (although the stacktrace does show up in Tomcat's log). It looks like the catch(Exception e) in PipelineNode.invoke() could be changed to catch(Throwable e)? As an aside, I'm a new Cocoon user who developed some XSLT extensions to Struts (sort of a SAX-ified version of stxx) - not open source unfortunately. We've used it with good success on several projects, but it was proving unsuitable for some harder problems so I took a look at Cocoon. I'm completely blown away. The Source interface along is to die for. A huge thanks to the people who have contributed the obviously immense amount of effort that has gone into it. Peter -- NEU F�R ALLE - GMX MediaCenter - f�r Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gru�, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse f�r Mail, Message, More! +++ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org