From 6936398b0abe3de94a9866834af0b4001c48c27f Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 20 Apr 2024 07:53:43 +0000 Subject: [PATCH] Include inner exception when re-throwing git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917176 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/extractor/ooxml/TestExtractorFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poi-ooxml/src/test/java/org/apache/poi/extractor/ooxml/TestExtractorFactory.java b/poi-ooxml/src/test/java/org/apache/poi/extractor/ooxml/TestExtractorFactory.java index be86baed3b..557752f2ee 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/extractor/ooxml/TestExtractorFactory.java +++ b/poi-ooxml/src/test/java/org/apache/poi/extractor/ooxml/TestExtractorFactory.java @@ -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); } } -- 2.39.5