invalid city id exception threated