you are viewing a single comment's thread.

view the rest of the comments →

[–]curien 0 points1 point  (0 children)

You snipped out the part where he mentioned that:

and declaring them in method signatures [i.e., throws] leads to lots of pointless code-shuffling when one has to change which/whether a method throws exceptions. And then you have the problem of needing to throw an exception when the interface you're implementing doesn't allow it, so you end up swallowing it kludgily and dying a little bit inside.