Author: fanningpj
Date: Tue Feb 14 15:07:55 2023
New Revision: 1907655
URL: http://svn.apache.org/viewvc?rev=1907655&view=rev
Log:
revert accidental change
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=1907655&r1=1907654&r2=1907655&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 15:07:55 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]