Please consider (1) not to use exception handling for non-error logic control and (2) not to base control logic around string message of an exception.