You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2006/08/11 10:22:34 UTC

svn commit: r430719 - /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java

Author: thorsten
Date: Fri Aug 11 01:22:34 2006
New Revision: 430719

URL: http://svn.apache.org/viewvc?rev=430719&view=rev
Log:
Fixing last commit where I added the stack to the wrong exception.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java?rev=430719&r1=430718&r2=430719&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/java/org/apache/forrest/dispatcher/transformation/DispatcherTransformer.java Fri Aug 11 01:22:34 2006
@@ -301,7 +301,7 @@
             .readDOM(propertyURI, this.manager);
         } catch (Exception e1) {
             String error = "dispatcherError:\n"
-                + "Could not get the properties for "+propertyURI;
+                + "Could not get the properties for "+propertyURI +"\n DispatcherStack: "+ e1;
         getLogger().error(error);
         throw new ProcessingException(error);
         }
@@ -310,7 +310,7 @@
                 STRUCTURER_FORMAT_ATTRIBUTE, null);
         if (requestedFormat == null) {
             String error = "dispatcherError:\n"
-                    + "You have to set the \"type\" parameter in the sitemap!\n DispatcherStack: " + e1;
+                    + "You have to set the \"type\" parameter in the sitemap!";
             getLogger().error(error);
             throw new ProcessingException(error);
         }