I would think an Illegal argument exception would be more correct.