cziegeler 01/10/02 01:26:12 Modified: src/org/apache/cocoon/components/language/markup/sitemap/java sitemap.xsl Log: Added requested uri to ResourceNotFoundException message Revision Changes Path 1.40 +2 -2 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.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- sitemap.xsl 2001/09/08 16:26:18 1.39 +++ sitemap.xsl 2001/10/02 08:26:11 1.40 @@ -124,7 +124,7 @@ * * @author <a href="mailto:[EMAIL PROTECTED]">Giacomo Pati</a> * @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a> - * @version CVS $Id: sitemap.xsl,v 1.39 2001/09/08 16:26:18 vgritsenko Exp $ + * @version CVS $Id: sitemap.xsl,v 1.40 2001/10/02 08:26:11 cziegeler Exp $ */ public class <xsl:value-of select="@file-name"/> extends AbstractSitemap { static final String LOCATION = "<xsl:value-of select="translate(@file-path, '/', '.')"/>.<xsl:value-of select="@file-name"/>"; @@ -505,7 +505,7 @@ </xsl:for-each> <xsl:if test="position() = last()"> - throw new ResourceNotFoundException("No pipeline matched request"); + throw new ResourceNotFoundException("No pipeline matched request: " + environment.getURIPrefix()+'/'+environment.getURI()); </xsl:if> } catch (ConnectionResetException cre) { // Will be reported by CocoonServlet, rethrowing
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]