Don't use exceptions for control flow.
Merge pull request #3462 from chrisvest/2.2-no-exception-control-flow

Don't use exceptions for control flow.