mirror of https://github.com/apache/poi.git
don't use ExceptionUtil in examples
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1907646 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
adcf7bf533
commit
03f7f911b0
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue