{
/*
* We have just reloaded the cache so a size of 0 means that the service was not located.
* We differentiate here by throwing a different exception.
*/
throw new MissingServiceException("Registry details for service [" + service + "] could not be determined from the registry.") ;
}
staleEPRCache = false;
}
EPR epr;
// Iterate over all the EPRs in the list until delivered