Add throws InvalidArgumentException to doc.