throwing exception on empty gazetteer name