diff options
author | Dominik Stadler <centic@apache.org> | 2020-12-16 20:55:14 +0000 |
---|---|---|
committer | Dominik Stadler <centic@apache.org> | 2020-12-16 20:55:14 +0000 |
commit | 71d6bf0306c5a3251016846f2920e101933380bb (patch) | |
tree | f758ff8315718e17eaef1071c9a4dee3cd41fb09 /src/ooxml/java/org | |
parent | 2b154b8d8f03eb3dda1602f5ec6a2daac802f945 (diff) | |
download | poi-71d6bf0306c5a3251016846f2920e101933380bb.tar.gz poi-71d6bf0306c5a3251016846f2920e101933380bb.zip |
Do not wrap RuntimeException so we still can handle them directly
This broke the CI when the "JCE Unlimited Strength Jurisdiction Policy files"
are missing, e.g. on some Windows Jenkins nodes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884529 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/java/org')
-rw-r--r-- | src/ooxml/java/org/apache/poi/ooxml/extractor/POIXMLExtractorFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/java/org/apache/poi/ooxml/extractor/POIXMLExtractorFactory.java b/src/ooxml/java/org/apache/poi/ooxml/extractor/POIXMLExtractorFactory.java index 088e09c3fe..2a5a9d86f7 100644 --- a/src/ooxml/java/org/apache/poi/ooxml/extractor/POIXMLExtractorFactory.java +++ b/src/ooxml/java/org/apache/poi/ooxml/extractor/POIXMLExtractorFactory.java @@ -271,7 +271,7 @@ public final class POIXMLExtractorFactory implements ExtractorProvider { try (InputStream is = dec.getDataStream(poifsDir)) { return create(is, password); } - } catch (IOException e) { + } catch (IOException | RuntimeException e) { throw e; } catch (Exception e) { throw new IOException(e); |