Make numbers outside range defined in spec throw an exception.