velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r605050 - /velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/VelocityView.java
Date Tue, 18 Dec 2007 00:22:15 GMT
Author: nbubna
Date: Mon Dec 17 16:22:14 2007
New Revision: 605050

URL: http://svn.apache.org/viewvc?rev=605050&view=rev
Log:
make the error that shows up in the browser a wee bit more informative (without requiring
a trip to the logs)

Modified:
    velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/VelocityView.java

Modified: velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/VelocityView.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/VelocityView.java?rev=605050&r1=605049&r2=605050&view=diff
==============================================================================
--- velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/VelocityView.java (original)
+++ velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/VelocityView.java Mon
Dec 17 16:22:14 2007
@@ -327,7 +327,7 @@
         {
             String msg = "Could not initialize VelocityEngine";
             getLog().error(msg, e);
-            throw new RuntimeException(msg, e);
+            throw new RuntimeException(msg + ": e", e);
         }
     }
 



Mime
View raw message