* @return ExcludedAreasType object
*/
private ExcludedAreasType createExcludedAreaByList(List areas)
throws ProtocolException {
try {
ExcludedAreasType excludedAreas
= _objectFact.createShippingRestrictionsExcludedAreasType();
List excludedList
= excludedAreas.getUsStateAreaOrUsZipAreaOrUsCountryArea();
for (int i = 0; i < areas.size(); i++) {
excludedList.add(areas.get(i));
}
return excludedAreas;
} catch (JAXBException jaxbEx) {