maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1155038 - /maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java
Date Mon, 08 Aug 2011 18:23:02 GMT
Author: olamy
Date: Mon Aug  8 18:23:02 2011
New Revision: 1155038

URL: http://svn.apache.org/viewvc?rev=1155038&view=rev
Log:
preserve stack trace

Modified:
    maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java

Modified: maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java?rev=1155038&r1=1155037&r2=1155038&view=diff
==============================================================================
--- maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java
(original)
+++ maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java
Mon Aug  8 18:23:02 2011
@@ -112,7 +112,7 @@ public class VelocityTemplate
 
         catch ( ResourceNotFoundException e )
         {
-            throw new ResourceNotFoundException( "Template not found: " + templateDirectory
+ "/" + template );
+            throw new ResourceNotFoundException( "Template not found: " + templateDirectory
+ "/" + template, e );
         }
         catch ( VelocityException e )
         {



Mime
View raw message