3 ms·
Yes and no. There's a non-local-control aspect to exceptions that's a bit different from explicit return or ? in that it's explicit in the text of the program r
by cmrdporcupine 3y ago
Yes and no. There's a non-local-control aspect to exceptions that's a bit different from explicit return or ? in that it's explicit in the text of the program rather than in the signature of the method. But yes, the compiler will stop you in either case, so that's fine.
But there's no guarantee that someone under you didn't go and pull out a RuntimeException on you.