On 2021-06-29, Miguel Munoz wrote:
> Catching all RuntimeExceptions and wrapping them in an IOException
> looks like the cleanest solution. RuntimeExceptions usually mean bugs,
> so if the archive code is throwing them due to a corrupted archive, it
> makes sense to wrap it in a checked exception. I would like to suggest
> creating a new class looking something like this:
> public class CorruptedArchiveException extends IOException { }
https://github.com/apache/commons-compress/compare/catch-RuntimeExceptions
:-)
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]