+1, and it allows you to get rid of the exception handling in this case.