Return-Path: Delivered-To: apmail-xml-cocoon-cvs-archive@xml.apache.org Received: (qmail 21715 invoked by uid 500); 12 Oct 2001 09:36:47 -0000 Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: cocoon-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 21706 invoked by uid 500); 12 Oct 2001 09:36:47 -0000 Delivered-To: apmail-xml-cocoon2-cvs@apache.org Date: 12 Oct 2001 09:32:14 -0000 Message-ID: <20011012093214.34134.qmail@icarus.apache.org> From: cziegeler@apache.org To: xml-cocoon2-cvs@apache.org Subject: cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java sitemap.xsl X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N cziegeler 01/10/12 02:32:14 Modified: src/org/apache/cocoon/components/language/markup/sitemap/java Tag: cocoon_20_branch sitemap.xsl Log: Throw exception for internal requests instead of using the error handler Revision Changes Path No revision No revision 1.11.2.34 +5 -1 xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl Index: sitemap.xsl =================================================================== RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl,v retrieving revision 1.11.2.33 retrieving revision 1.11.2.34 diff -u -r1.11.2.33 -r1.11.2.34 --- sitemap.xsl 2001/10/12 08:37:06 1.11.2.33 +++ sitemap.xsl 2001/10/12 09:32:14 1.11.2.34 @@ -124,7 +124,7 @@ * * @author <a href="mailto:giacomo@apache.org">Giacomo Pati</a> * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a> - * @version CVS $Id: sitemap.xsl,v 1.11.2.33 2001/10/12 08:37:06 cziegeler Exp $ + * @version CVS $Id: sitemap.xsl,v 1.11.2.34 2001/10/12 09:32:14 cziegeler Exp $ */ public class extends AbstractSitemap { static final String LOCATION = "."; @@ -534,6 +534,10 @@ getLogger().warn("Error, try to process the error page", e); + if (internalRequest) { + getLogger().error("Sitemap", e); + if (true) throw e; + } try { return error_process__500 (redirector, environment, environment.getObjectModel(), e, internalRequest); ---------------------------------------------------------------------- In case of troubles, e-mail: webmaster@xml.apache.org To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-cvs-help@xml.apache.org