if(!adrType.hasLabel()) {
adrType.setLabel(labelType);
}
else {
vcard.addError("Label with duplicate parameter types was detected and ignored. Label -> "+labelType.toString(), ErrorSeverity.WARNING, new VCardParseException("Duplicate label"));
}
match = true;
}
}//if
}//for
}
catch(Exception ex) {
throw new VCardParseException("LabelType ("+VCardTypeName.LABEL.getType()+") ["+ex.getClass().getName()+"] "+ex.getMessage(), ex);
}
}