} else {
Object firstReturnedObject = returndedObject.iterator().next();
if (firstReturnedObject == null) {
errorReason = "First returned object is null.";
} else if (firstReturnedObject instanceof AcceptanceReply) {
AcceptanceReply reply = (AcceptanceReply) firstReturnedObject;
return reply;
} else {
errorReason = "The returned object was not of type AcceptanceReply!";
}
}