You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2021/12/13 17:55:30 UTC
svn commit: r1895912 - /poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java
Author: fanningpj
Date: Mon Dec 13 17:55:30 2021
New Revision: 1895912
URL: http://svn.apache.org/viewvc?rev=1895912&view=rev
Log:
highlight some exceptions
Modified:
poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java
Modified: poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java?rev=1895912&r1=1895911&r2=1895912&view=diff
==============================================================================
--- poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java (original)
+++ poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java Mon Dec 13 17:55:30 2021
@@ -105,6 +105,12 @@ public class XMLSlideShow extends POIXML
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 POIXML
}
}
+ /**
+ * @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));
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org