throw exception if argv is empty