You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2023/04/23 11:55:08 UTC

[Bug 66576] Throw exceptions are inconsistent when file with wrong formats are encountered

https://bz.apache.org/bugzilla/show_bug.cgi?id=66576

Dominik Stadler <do...@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
            Summary|It is difficult to handle   |Throw exceptions are
                   |files with wrong formats    |inconsistent when file with
                   |                            |wrong formats are
                   |                            |encountered
           Severity|normal                      |enhancement

--- Comment #1 from Dominik Stadler <do...@gmx.at> ---
There is likely no overall plan how exception handling should work and thus it
developed in an inconsistent way over time. 

We could try to more consistently throw InvalidFormatException, but as it is a
checked exception, this would mean backward-incompatible changes in a number of
APIs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org