velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r534257 - /velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/config/XmlFactoryConfiguration.java
Date Tue, 01 May 2007 22:19:39 GMT
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);
         }
     }
 



Mime
View raw message