Why not use an InvalidArgumentValue Exception ? It would make more sense here.