Bug 53707 - SlideShow.addPicture declares IOException but throws HSLFException
Summary: SlideShow.addPicture declares IOException but throws HSLFException
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSLF (show other bugs)
Version: 3.8-FINAL
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-13 07:04 UTC by Jens.Roggenstein
Modified: 2012-10-26 15:41 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens.Roggenstein 2012-08-13 07:04:45 UTC
I'm using poi-scratchpad-3.8-20120326.
org.apache.poi.hslf.usermodel.SlideShow.addPicture(File pict, int format) declares java.io.IOException to be thrown.
However, this exception is caught in the method and a HSLFException is thrown instead.
Comment 1 Yegor Kozlov 2012-10-26 15:41:31 UTC
Fixed in r1402550

Yegor