2 ms·
> > Just write your Java code without a try/catch block anywhere > The point of checked exceptions is that you can’t do that. Sure you can. You just have to
by AnimalMuppet 11y ago
> > Just write your Java code without a try/catch block anywhere
> The point of checked exceptions is that you can’t do that.
Sure you can. You just have to write "throws Exception" after all your function signatures.
- Chris_Newton 11y agoThat would be a (perhaps rather foolish) variation of the “explicitly indicate that you will propagate it” case.