This should be checkArgument. It could happen if the Domain has, say, two ranges and the second one is `all`