This should only catch the expected exception type.