Include inner exception when re-throwing

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1917176 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2024-04-20 07:53:43 +00:00
parent d4bcc2b3bb
commit 6936398b0a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}