You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@velocity.apache.org by nb...@apache.org on 2007/05/02 00:19:39 UTC

svn commit: r534257 - /velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfiguration.java

Author: nbubna
Date: Tue May  1 15:19:38 2007
New Revision: 534257

URL: http://svn.apache.org/viewvc?view=rev&rev=534257
Log:
use a less misleading message for SAXExceptions during digestion

Modified:
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfiguration.java

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfiguration.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfiguration.java?view=diff&rev=534257&r1=534256&r2=534257
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfiguration.java (original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfiguration.java Tue May  1 15:19:38 2007
@@ -89,7 +89,7 @@
         }
         catch (SAXException saxe)
         {
-            throw new RuntimeException("InputStream could not be parsed", saxe);
+            throw new RuntimeException("There was an error while parsing the InputStream", saxe);
         }
     }