Author: centic
Date: Sat Apr 20 07:53:43 2024
New Revision: 1917176

URL: http://svn.apache.org/viewvc?rev=1917176&view=rev
Log:
Include inner exception when re-throwing

Modified:
    
poi/trunk/poi-ooxml/src/test/java/org/apache/poi/extractor/ooxml/TestExtractorFactory.java

Modified: 
poi/trunk/poi-ooxml/src/test/java/org/apache/poi/extractor/ooxml/TestExtractorFactory.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/src/test/java/org/apache/poi/extractor/ooxml/TestExtractorFactory.java?rev=1917176&r1=1917175&r2=1917176&view=diff
==============================================================================
--- 
poi/trunk/poi-ooxml/src/test/java/org/apache/poi/extractor/ooxml/TestExtractorFactory.java
 (original)
+++ 
poi/trunk/poi-ooxml/src/test/java/org/apache/poi/extractor/ooxml/TestExtractorFactory.java
 Sat Apr 20 07:53:43 2024
@@ -180,7 +180,7 @@ class TestExtractorFactory {
             testExtractor(ext, testcase, extractor, count);
             pkg.revert();
         } catch (Exception e) {
-            throw new Exception("While handling " + testcase + " - " + 
testFile + " - " + extractor);
+            throw new Exception("While handling " + testcase + " - " + 
testFile + " - " + extractor, e);
         }
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to