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:
Dominik Stadler 2016-11-25 22:07:45 +00:00
parent e2b22e51f7
commit ed975b0efa
1 changed files with 1 additions and 1 deletions

View File

@ -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. "
+ "Is it really an excel file?");
+ "Is it really an excel file? Had: " + directory.getEntryNames());
}
/**