I think continue would fit rethrowing much better, since it means "go to the end of the block" (=rethrow) rather then breaks "go past the end of the block" (=get out of the block without rethrow)...
But that's me. :)
/ Mirar
Previous text:
2003-10-02 00:45: Subject: Re: throw or return
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