Correct me if I'm wrong, please: I think that InputStream.close() never throws an Exception, but it is not guaranteed. However, this isn't mistake in concept of checked exceptions. It is mistake in usage.
2009/8/4, Casper Bang <casper.b...@gmail.com>: > > On 4 Aug., 20:22, v6ak <v...@volny.cz> wrote: >> Is it really a DISadvantage when you get compile error(s) because of >> incompatible API? > > Let me turn it around instead. Is it a good idea how InputStream.close > () throws a IOException? Can anything be done about it now? > > /Casper > > > -- Odesláno z mobilního zařízení --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to javaposse@googlegroups.com To unsubscribe from this group, send email to javaposse+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---