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:[EMAIL PROTECTED]">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: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]