throw exception if Server constructor fails