Throw exception when number of arguments  is incorrect.