See above comment about exception. We generally avoid them because they can mask deeper issues in the code. If you want you can catch a specific instance of an exception class I'd be 100% onboard.