Add a way to test for exceptions directly.
Only allow at most one else in switch.