private void readList(LinearNode linearnode) throws GazetteerException { if(linearnode == null) throw new GazetteerException("LinearNode node is null"); GazetteerList gazetteerlist = listsByNode.get(linearnode); if(gazetteerlist == null) throw new GazetteerException("gazetteer list not found by node"); String s = linearnode.getList(); String majorType = linearnode.getMajorType();