Oooh, the "exception message affects control flow" isn't limited to test code! This smells.