Le mer. 30 juin 2021 à 02:32, Bernd Eckenfels <[email protected]> a écrit :
>
> I vote for the subclass of IOException - if you care about handling broken 
> archives you would catch it,

Yes, but you can catch a runtime exception all the same.
An application that doesn't want to terminate abruptly must catch
all exceptions at some point.
The distinction between checked and unchecked is related to the
question of "recoverable or not", not about "handling or not".

> if you don’t care you have to handle IO problems anyway.

?

Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to