DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17890>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17890

[RFE] Better Error Message when file read is zero bytes

           Summary: [RFE] Better Error Message when file read is zero bytes
           Product: POI
           Version: 2.0-dev
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: POIFS
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The following exception is generated when trying to read a file that zero bytes:

========================================
java.io.IOException: Unable to read entire header; -1 bytes read; expected
512 bytes
        at
org.apache.poi.poifs.storage.HeaderBlockReader.<init>(HeaderBlockReader.java:114)
        at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java
========================================

Provide a more descriptive exception message.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to