You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2011/08/08 20:23:02 UTC

svn commit: r1155038 - /maven/plugins/trunk/maven-checkstyle-plugin/src/main/java/org/apache/maven/plugin/checkstyle/VelocityTemplate.java

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 )
         {