[coding] convery most parameter check asseritions into exceptions