Catch range exceptions