You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2001/10/02 10:25:47 UTC

cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java sitemap.xsl

cziegeler    01/10/02 01:25:47

  Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
                        Tag: cocoon_20_branch sitemap.xsl
  Log:
  Added requested uri to ResourceNotFoundException message
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.32 +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.11.2.31
  retrieving revision 1.11.2.32
  diff -u -r1.11.2.31 -r1.11.2.32
  --- sitemap.xsl	2001/09/08 16:30:57	1.11.2.31
  +++ sitemap.xsl	2001/10/02 08:25:47	1.11.2.32
  @@ -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.31 2001/09/08 16:30:57 vgritsenko Exp $
  +     * @version CVS $Id: sitemap.xsl,v 1.11.2.32 2001/10/02 08:25:47 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:     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