aboutsummaryrefslogtreecommitdiffstats
path: root/poi-examples
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-02-14 13:52:53 +0000
committerPJ Fanning <fanningpj@apache.org>2023-02-14 13:52:53 +0000
commit03f7f911b0e54ba106cfc7c7fa6044a3e53d3034 (patch)
tree72a0db86c00556f941faef50ced81338f7627a68 /poi-examples
parentadcf7bf53301a9ba1abe7ce67c73e256a4260844 (diff)
downloadpoi-03f7f911b0e54ba106cfc7c7fa6044a3e53d3034.tar.gz
poi-03f7f911b0e54ba106cfc7c7fa6044a3e53d3034.zip
don't use ExceptionUtil in examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907646 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-examples')
-rw-r--r--poi-examples/src/main/java/org/apache/poi/examples/hpsf/ReadCustomPropertySets.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/poi-examples/src/main/java/org/apache/poi/examples/hpsf/ReadCustomPropertySets.java b/poi-examples/src/main/java/org/apache/poi/examples/hpsf/ReadCustomPropertySets.java
index 187f434b94..ca8cba1ce9 100644
--- a/poi-examples/src/main/java/org/apache/poi/examples/hpsf/ReadCustomPropertySets.java
+++ b/poi-examples/src/main/java/org/apache/poi/examples/hpsf/ReadCustomPropertySets.java
@@ -29,7 +29,6 @@ import org.apache.poi.hpsf.PropertySetFactory;
import org.apache.poi.hpsf.Section;
import org.apache.poi.poifs.eventfilesystem.POIFSReader;
import org.apache.poi.poifs.eventfilesystem.POIFSReaderEvent;
-import org.apache.poi.util.ExceptionUtil;
/**
* <p>Sample application showing how to read a document's custom property set.
@@ -67,9 +66,6 @@ public final class ReadCustomPropertySets {
out("No property set stream: \"" + streamName + "\"");
return;
} catch (Exception ex) {
- if (ExceptionUtil.isFatal(ex)) {
- ExceptionUtil.rethrow(ex);
- }
throw new HPSFRuntimeException("Property set stream \"" + streamName + "\": " + ex);
}