Thrown if the index or size is either negative or greater than the allowed value.
ExampleNo example available.