implements InvalidArgumentException in logs