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

cvs commit: xml-cocoon2/src/org/apache/cocoon/sitemap Manager.java

dims        01/07/06 07:02:02

  Modified:    src/org/apache/cocoon/sitemap Tag: cocoon_20_branch
                        Manager.java
  Log:
  Expanded "The sitemap handler's sitemap is not available" message to include "Please check cocoon.log for the exact error."
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.7   +3 -2      xml-cocoon2/src/org/apache/cocoon/sitemap/Manager.java
  
  Index: Manager.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/org/apache/cocoon/sitemap/Manager.java,v
  retrieving revision 1.2.2.6
  retrieving revision 1.2.2.7
  diff -u -r1.2.2.6 -r1.2.2.7
  --- Manager.java	2001/07/04 10:11:21	1.2.2.6
  +++ Manager.java	2001/07/06 14:01:59	1.2.2.7
  @@ -33,7 +33,7 @@
    * checking regeneration of the sub <code>Sitemap</code>
    *
    * @author <a href="mailto:Giacomo.Pati@pwr.ch">Giacomo Pati</a>
  - * @version CVS $Revision: 1.2.2.6 $ $Date: 2001/07/04 10:11:21 $
  + * @version CVS $Revision: 1.2.2.7 $ $Date: 2001/07/06 14:01:59 $
    */
   public class Manager extends AbstractLoggable implements Component, Configurable, Composable, Contextualizable, ThreadSafe {
       private Context context;
  @@ -174,7 +174,8 @@
           String source) throws Exception {
               environment.changeContext(uri_prefix, source);
               if (!sitemapHandler.available()) {
  -                throw new ProcessingException("The sitemap handler's sitemap is not available.",
  +                throw new ProcessingException("The sitemap handler's sitemap is not available. " +
  +                    "Please check cocoon.log for the exact error.",
                       sitemapHandler.getException());
               }
       }
  
  
  

----------------------------------------------------------------------
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