News for hackers. Stuff that matters.
Re:Java’s Checked Exceptions Are Evil? (2015) by int0x80 on Sunday September 23, 2018 @09:35AM (#18051004)
an empty try catch wont necessary make that happen. It could countinue with the assumption that it has a File when it doesnt, corrupting further things in its (uncontrolled) way out.
Re:Java’s Checked Exceptions Are Evil? (2015) by leothekim on Sunday September 23, 2018 @09:44AM (#18051048)
Yes that's a bad example for an empty try catch, in that case one should throw a runtime exception. Apologies for the misleading example.