]> source.dussan.org Git - poi.git/commitdiff
JDK 1.3 compilation issue
authorAndrew C. Oliver <acoliver@apache.org>
Thu, 4 Sep 2003 20:05:03 +0000 (20:05 +0000)
committerAndrew C. Oliver <acoliver@apache.org>
Thu, 4 Sep 2003 20:05:03 +0000 (20:05 +0000)
PR:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353339 13f79535-47bb-0310-9956-ffa450edef68

src/testcases/org/apache/poi/hpsf/basic/TestWrite.java

index fbb09a900e4096ade657538caf6935afab34db99..5f24dcebb72e07309442f5e81aa4c700f243c762 100644 (file)
@@ -231,7 +231,7 @@ public class TestWrite extends TestCase
                     catch (Exception ex)
                     {
                         ex.printStackTrace();
-                        throw new RuntimeException(ex);
+                        throw new RuntimeException(ex.toString());
                     }
                 }
 
@@ -259,7 +259,7 @@ public class TestWrite extends TestCase
             catch (Exception ex)
             {
                 ex.printStackTrace();
-                throw new RuntimeException(ex);
+                throw new RuntimeException(ex.toString());
             }
         }
     }