maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1426844 - /maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/changes/FeedGenerator.java
Date Sat, 29 Dec 2012 21:37:08 GMT
Author: hboutemy
Date: Sat Dec 29 21:37:07 2012
New Revision: 1426844

URL: http://svn.apache.org/viewvc?rev=1426844&view=rev
Log:
restored jdk 1.5 compatibility

Modified:
    maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/changes/FeedGenerator.java

Modified: maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/changes/FeedGenerator.java
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/changes/FeedGenerator.java?rev=1426844&r1=1426843&r2=1426844&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/changes/FeedGenerator.java
(original)
+++ maven/plugins/trunk/maven-changes-plugin/src/main/java/org/apache/maven/plugin/changes/FeedGenerator.java
Sat Dec 29 21:37:07 2012
@@ -209,7 +209,9 @@ public class FeedGenerator
         }
         catch ( FeedException ex )
         {
-            throw new IOException( ex );
+            IOException ioex = new IOException( ex.getMessage() );
+            ioex.initCause( ex );
+            throw ioex;
         }
     }
 



Mime
View raw message