Re:Unchecked Java: Say Goodbye to Checked Exceptions Forever
by wewtyflakes on Thursday July 13, 2023 @05:07PM
(#36715996)
It has not been extremely/overwhelmingly rare in my experience. Further still, within the context of Java, exceptions are objects.
come on, it's not as if anyone disagrees with that, but that's extremely, extremely rare, overwhelmingly, callers are just dealing things like with UserNotFoundException, NullPointerException, what have you, and there's no reason why the compiler should happily let you catch Exception (or nothing) when it could just be giving you an honest object back