Wouldn't simply not catching the exception have the same result?