News for hackers. Stuff that matters.
Re:Java’s Checked Exceptions Are Evil? (2015) by grashalm01 on Sunday September 23, 2018 @07:31AM (#18050586)
My rule of thumb: use checked exceptions if and only if your exceptions are not supposed to be rethrown and must be handled by the caller directly. These cases are very rare, but I recently had one them.
Re:Java’s Checked Exceptions Are Evil? (2015) by wtetzner on Sunday September 23, 2018 @10:04AM (#18051123)
I think that's a reasonable rule of thumb, and it tends to be the way I use checked exceptions as well.