On 6/29/21 8:08 AM, Stefan Bodewig wrote:
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
+1
As a user, this is what I would like to see. I especially like the
class javadoc :)
Phil
:-)
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org