This should be raised by a function when a parameter value is not what it expected.
XXX obsolete - didn't know about ValueError.