Include actual entries when we do not find a Document-entry
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771394 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e2b22e51f7
commit
ed975b0efa
|
@ -287,7 +287,7 @@ public final class HSSFWorkbook extends POIDocument implements org.apache.poi.ss
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new IllegalArgumentException("The supplied POIFSFileSystem does not contain a BIFF8 'Workbook' entry. "
|
throw new IllegalArgumentException("The supplied POIFSFileSystem does not contain a BIFF8 'Workbook' entry. "
|
||||||
+ "Is it really an excel file?");
|
+ "Is it really an excel file? Had: " + directory.getEntryNames());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue