That's a good point. Looking back at some of the examples, they aren't really as clean as I'd like them to be.
If we go for a switch-like thing, it's necessary to use "continue" to avoid rethrow, since some statement must be provided to jump out of it with a rethrow, and "break" would fit that much better.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-10-02 00:27: Subject: Re: throw or return
I still like the switch-like structure best, mainly because it's very easy to detect what's unhandled.
/ Per Hedbor ()