Author: fanningpj
Date: Tue Feb 14 13:52:53 2023
New Revision: 1907646

URL: http://svn.apache.org/viewvc?rev=1907646&view=rev
Log:
don't use ExceptionUtil in examples

Modified:
    
poi/trunk/poi-examples/src/main/java/org/apache/poi/examples/hpsf/ReadCustomPropertySets.java

Modified: 
poi/trunk/poi-examples/src/main/java/org/apache/poi/examples/hpsf/ReadCustomPropertySets.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/poi-examples/src/main/java/org/apache/poi/examples/hpsf/ReadCustomPropertySets.java?rev=1907646&r1=1907645&r2=1907646&view=diff
==============================================================================
--- 
poi/trunk/poi-examples/src/main/java/org/apache/poi/examples/hpsf/ReadCustomPropertySets.java
 (original)
+++ 
poi/trunk/poi-examples/src/main/java/org/apache/poi/examples/hpsf/ReadCustomPropertySets.java
 Tue Feb 14 13:52:53 2023
@@ -29,7 +29,6 @@ import org.apache.poi.hpsf.PropertySetFa
 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 ReadCustomPropertySet
             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);
         }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to