From: PJ Fanning Date: Mon, 13 Dec 2021 17:55:30 +0000 (+0000) Subject: highlight some exceptions X-Git-Tag: REL_5_2_0~83 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b68a4b7eff7d9335154e3a60181f2b3314f45584;p=poi.git highlight some exceptions git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895912 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java b/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java index d8ab3df4d4..2e514dab55 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java @@ -105,6 +105,12 @@ public class XMLSlideShow extends POIXMLDocument this(empty()); } + /** + * @param pkg OPC package + * @throws POIXMLException a RuntimeException that can be caused by invalid OOXML data + * @throws RuntimeException a number of other runtime exceptions can be thrown, especially if there are problems with the + * input format + */ public XMLSlideShow(OPCPackage pkg) { super(pkg); @@ -120,6 +126,13 @@ public class XMLSlideShow extends POIXMLDocument } } + /** + * @param is InputStream + * @throws IOException + * @throws POIXMLException a RuntimeException that can be caused by invalid OOXML data + * @throws RuntimeException a number of other runtime exceptions can be thrown, especially if there are problems with the + * input format + */ public XMLSlideShow(InputStream is) throws IOException { this(PackageHelper.open(is)); }