You exception for the `limit>1000` condition should be `ArgumentException`, not `ArgumentOutOfRangeException`.