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: [email protected]
For additional commands, e-mail: [email protected]