]> source.dussan.org Git - poi.git/commitdiff
Include actual entries when we do not find a Document-entry
authorDominik Stadler <centic@apache.org>
Fri, 25 Nov 2016 22:07:45 +0000 (22:07 +0000)
committerDominik Stadler <centic@apache.org>
Fri, 25 Nov 2016 22:07:45 +0000 (22:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1771394 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java

index 89b36c0d88b0095121f6db0a1f7d8bb192310f9e..a09756c8b28040297eeba2977eaa4f2bd4d1cf9e 100644 (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());
     }
 
     /**