}
// TBD: verify if it's really ok to throw this exception here
if ( tableArray.length <= 0 )
{
throw new SeleniumWebTestException("Empty excel data.");
}
return tableArray;
}
catch ( IOException ioe )
{
LOGGER.error("IO Exception retrieving table array from Excel: " + ioe.getMessage(), ioe);
throw new SeleniumWebTestException(ioe);
}
catch ( BiffException be )
{
LOGGER.error("Internal error retrieving table array from Excel: " + be.getMessage(), be);
throw new SeleniumWebTestException(be);
}
}