Exception thrown if argument equals null