Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
So let me get this straight: you want to throw checked exceptions without
declaring them?
...I'm not clear on why that would be a good idea, and it seems to go against
how Java designed checked exceptions in the first place.
Original comment by wasserman.louis
on 20 Feb 2012 at 5:07
Hmm, the more I think about it, I think it is not good. At first I was
impressed by getting rid of the additional wrapping RuntimeException.
The "badness" of this unveils when thinking about handling of exceptions, e.g.
a IOException (thrown unchecked) would bypass exception handling for Error and
RuntimException, because it is unexpected.
Sorry about that, please close it.
Original comment by stefan.l...@gmail.com
on 21 Feb 2012 at 7:16
Original comment by cgdec...@gmail.com
on 21 Feb 2012 at 4:11
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:14
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:08
Original issue reported on code.google.com by
stefan.l...@gmail.com
on 20 Feb 2012 at 12:53