This seems like a bad idea of using exceptions to control application flow.