if (errno == 0) {
coll.addAll(keys);
}
else {
ErrInfo errinfo = result.getErrInfo();
DeleteException de = new DeleteException(errinfo.getErrCode() + ":" + errinfo.getValue());
bulk.setStatus(JAXRResponse.STATUS_FAILURE);
exceptions.add(de);
}
}
}
catch (RegistryV3Exception regExcept) {
/*
* jUDDI (and prollie others) throw an exception on any fault in
* the transaction w/ the registry, so we don't get any partial
* success
*/
DeleteException de = new DeleteException(regExcept.getFaultCode()
+ ":" + regExcept.getFaultString(), regExcept);
bulk.setStatus(JAXRResponse.STATUS_FAILURE);
exceptions.add(de);
}