"getServiceRegistration", regID);
}
ServiceRegistration reg = (ServiceRegistration)regByID.get(regID);
if(reg == null) { // either expired or never existed
throw new ThrowThis(
new NoSuchObjectException("Not managing requested " +
"registration object"));
} else if(!ensureCurrent(reg)) { // check validity
throw new ThrowThis(
new NoSuchObjectException("Requested registration object" +
"has expired"));
}
// Must be a valid registration at this point
if (operationsLogger.isLoggable(Level.FINER)) {
operationsLogger.exiting(mailboxSourceClass,