Remove catches which were previously incorrectly declared when not needed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1695775 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1a84b476e8
commit
6be4fc05d2
@ -20,7 +20,6 @@ import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.poi.POIXMLDocument;
|
||||
import org.apache.poi.POIXMLException;
|
||||
import org.apache.poi.POIXMLTextExtractor;
|
||||
import org.apache.poi.openxml4j.exceptions.OpenXML4JException;
|
||||
import org.apache.poi.openxml4j.opc.OPCPackage;
|
||||
@ -117,7 +116,6 @@ public class XWPFWordExtractor extends POIXMLTextExtractor {
|
||||
}
|
||||
|
||||
public void appendParagraphText(StringBuffer text, XWPFParagraph paragraph) {
|
||||
try {
|
||||
CTSectPr ctSectPr = null;
|
||||
if (paragraph.getCTP().getPPr() != null) {
|
||||
ctSectPr = paragraph.getCTP().getPPr().getSectPr();
|
||||
@ -156,12 +154,6 @@ public class XWPFWordExtractor extends POIXMLTextExtractor {
|
||||
if (ctSectPr != null) {
|
||||
extractFooters(text, headerFooterPolicy);
|
||||
}
|
||||
} catch (IOException e) {
|
||||
throw new POIXMLException(e);
|
||||
} catch (XmlException e) {
|
||||
throw new POIXMLException(e);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void appendTableText(StringBuffer text, XWPFTable table) {
|
||||
|
Loading…
Reference in New Issue
Block a user