Bug 54564

Summary: [PATCH] Invalid range in error message when accessing out of range sheet
Product: POI Reporter: Florian Hopf <fhopf>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: trivial CC: dominik.stadler
Priority: P2    
Version: 3.10-dev   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Attachments: simple text enhancement and a fix that prints (no sheets) instead of the range

Description Florian Hopf 2013-02-15 11:20:26 UTC
Created attachment 29956 [details]
simple text enhancement and a fix that prints (no sheets) instead of the range

When accessing a sheet by index for a Workbook with no sheets the Exception message looks rather strange: Sheet index (12) is out of range (0..-1)
Comment 1 Nick Burch 2013-06-25 15:20:04 UTC
Thanks, applied in r1496516.