maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hbout...@apache.org
Subject svn commit: r1126837 - /maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
Date Tue, 24 May 2011 02:49:28 GMT
Author: hboutemy
Date: Tue May 24 02:49:28 2011
New Revision: 1126837

URL: http://svn.apache.org/viewvc?rev=1126837&view=rev
Log:
restored Java 5 compatibility

Modified:
    maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java

Modified: maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java?rev=1126837&r1=1126836&r2=1126837&view=diff
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
(original)
+++ maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java
Tue May 24 02:49:28 2011
@@ -620,7 +620,9 @@ public class DefaultSiteRenderer
         }
         catch ( ZipException ex )
         {
-            throw new IOException( "Error opening ZipFile: " + file.getAbsolutePath(), ex
);
+            IOException ioe = new IOException( "Error opening ZipFile: " + file.getAbsolutePath()
);
+            ioe.initCause( ex );
+            throw ioe;
         }
     }
 



Mime
View raw message