Entirely possible there was a unit test that confirmed the system would error out in this particular condition. This sounds more like a requirements issue.