Is this useful?
If it is, wouldn't an IllegalArgumentException be better?