You are viewing a plain text version of this content. The canonical link for it is here.
Posted to surefire-commits@maven.apache.org by br...@apache.org on 2006/06/30 10:26:17 UTC

svn commit: r418198 - /maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/output/FileOutputConsumerProxy.java

Author: brett
Date: Fri Jun 30 01:26:16 2006
New Revision: 418198

URL: http://svn.apache.org/viewvc?rev=418198&view=rev
Log:
correct compilation error under JDK 1.3

Modified:
    maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/output/FileOutputConsumerProxy.java

Modified: maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/output/FileOutputConsumerProxy.java
URL: http://svn.apache.org/viewvc/maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/output/FileOutputConsumerProxy.java?rev=418198&r1=418197&r2=418198&view=diff
==============================================================================
--- maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/output/FileOutputConsumerProxy.java (original)
+++ maven/surefire/trunk/surefire-booter/src/main/java/org/apache/maven/surefire/booter/output/FileOutputConsumerProxy.java Fri Jun 30 01:26:16 2006
@@ -23,6 +23,7 @@
 import java.io.PrintWriter;
 
 import org.apache.maven.surefire.report.ReportEntry;
+import org.apache.maven.surefire.util.NestedRuntimeException;
 
 /**
  * Surefire output consumer proxy that writes test output to a {@link File} for each test suite.
@@ -112,7 +113,7 @@
         }
         catch ( IOException e )
         {
-            throw new RuntimeException( e );
+            throw new NestedRuntimeException( e );
         }
         super.testSetStarting( reportEntry );
     }