I am writing a program that is using HSSF from POI 3.2 to accept input
from remote users.
Today, one of the users sent in a file that was corrupt. When my
program tried to create its HSSFWorkbook object, it crashed with an
ArrayIndexOutOfBounds exception.
When you create a HSSF filesystem object and then create a workbook,
NetBeans suggests that you surround one of those statements (can't
remember which) with a try-catch statement for an IOException. I
fixed the problem by changing that to just a generic "Exception," but
I just wanted to pass that along.
Maybe the HSSFWorkbook constructor should throw an
ArrayIndexOutOfBounds exception...
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]