mirror of https://github.com/apache/poi.git
highlight some exceptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895912 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
065537fb02
commit
b68a4b7eff
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue