use of com.yahoo.messagebus.EmptyReply in project vespa by vespa-engine.
the class ReplyMerger method mergeAllReplyErrors.
private void mergeAllReplyErrors(Reply r) {
if (handleReplyWithOnlyIgnoredErrors(r)) {
return;
}
if (error == null) {
error = new EmptyReply();
r.swapState(error);
return;
}
for (int j = 0; j < r.getNumErrors(); ++j) {
error.addError(r.getError(j));
}
}
Aggregations