+ "You need to call a different part of POI to process this data (eg XSSF instead of HSSF)"); case XML: throw new NotOLE2FileException("The supplied data appears to be a raw XML file. " + "Formats such as Office 2003 XML are not supported"); case MSWRITE: throw new NotOLE2FileException("The supplied data appears to be in the old MS Write format. " + "Apache POI doesn't currently support this format"); case WORD2: throw new NotOLE2FileException("The supplied data appears to be an old Word version 2 file. " + "Apache POI doesn't currently support this format"); case BIFF2: throw new NotOLE2FileException( "Invalid header signature; read " + act + ", expected " + exp + " - Your file appears not to be a valid OLE2 document");
LOGGER.error ("Error trying to read non-Excel file from " + aIIS + ": " + ex.getMessage ());
+ "You need to call a different part of POI to process this data (eg XSSF instead of HSSF)"); case XML: throw new NotOLE2FileException("The supplied data appears to be a raw XML file. " + "Formats such as Office 2003 XML are not supported"); case MSWRITE: throw new NotOLE2FileException("The supplied data appears to be in the old MS Write format. " + "Apache POI doesn't currently support this format"); case WORD2: throw new NotOLE2FileException("The supplied data appears to be an old Word version 2 file. " + "Apache POI doesn't currently support this format"); case BIFF2: throw new NotOLE2FileException( "Invalid header signature; read " + act + ", expected " + exp + " - Your file appears not to be a valid OLE2 document");