Source:
protected boolean processResponseError(ReplicaId replicaId, ServerErrorCode serverErrorCode) throws CoordinatorException { switch (serverErrorCode) { case No_Error: return true; case IO_Error: case Data_Corrupt: return false; case Blob_Not_Found: blobNotFoundCount++; if (blobNotFoundCount == replicaIdCount) { String message = "Blob not found : blobNotFoundCount == replicaIdCount == " + blobNotFoundCount + "."; logger.error(message); throw new CoordinatorException(message, CoordinatorError.BlobDoesNotExist); } return false; case Blob_Deleted: blobDeletedCount++; if (blobDeletedCount >= min(Blob_Deleted_Count_Threshold, replicaIdCount)) { String message = "Blob deleted : blobDeletedCount == " + blobDeletedCount + " >= min(deleteThreshold == " + Blob_Deleted_Count_Threshold + ", replicaIdCount == " + replicaId + ")."; logger.error(message); throw new CoordinatorException(message, CoordinatorError.BlobDeleted); } return false; case Blob_Expired: blobExpiredCount++; if (blobExpiredCount >= min(Blob_Expired_Count_Threshold, replicaIdCount)) { String message = "Blob expired : blobExpiredCount == " + blobExpiredCount + " >= min(expiredThreshold == " + Blob_Expired_Count_Threshold + ", replicaIdCount == " + replicaId + ")."; logger.error(message); throw new CoordinatorException(message, CoordinatorError.BlobExpired); } return false; default: CoordinatorException e = new CoordinatorException("Server returned unexpected error for GetOperation.", CoordinatorError.UnexpectedInternalError); logger .error("{} GetResponse for BlobId received from ReplicaId had unexpected error code {}: {}", context, blobId, replicaId, serverErrorCode, e); throw e; } }

Target:
protected boolean processResponseError(ReplicaId replicaId, ServerErrorCode serverErrorCode) throws CoordinatorException { switch (serverErrorCode) { case No_Error: return true; case IO_Error: case Data_Corrupt: return false; case Blob_Not_Found: blobNotFoundCount++; if (blobNotFoundCount == replicaIdCount) { String message = "Blob not found : blobNotFoundCount == replicaIdCount == " + blobNotFoundCount + "."; logger.trace(message); throw new CoordinatorException(message, CoordinatorError.BlobDoesNotExist); } return false; case Blob_Deleted: blobDeletedCount++; if (blobDeletedCount >= min(Blob_Deleted_Count_Threshold, replicaIdCount)) { String message = "Blob deleted : blobDeletedCount == " + blobDeletedCount + " >= min(deleteThreshold == " + Blob_Deleted_Count_Threshold + ", replicaIdCount == " + replicaIdCount + ")."; logger.trace(message); throw new CoordinatorException(message, CoordinatorError.BlobDeleted); } return false; case Blob_Expired: blobExpiredCount++; if (blobExpiredCount >= min(Blob_Expired_Count_Threshold, replicaIdCount)) { String message = "Blob expired : blobExpiredCount == " + blobExpiredCount + " >= min(expiredThreshold == " + Blob_Expired_Count_Threshold + ", replicaIdCount == " + replicaIdCount + ")."; logger.trace(message); throw new CoordinatorException(message, CoordinatorError.BlobExpired); } return false; default: CoordinatorException e = new CoordinatorException("Server returned unexpected error for GetOperation.", CoordinatorError.UnexpectedInternalError); logger .error("{} GetResponse for BlobId received from ReplicaId had unexpected error code {}: {}", context, blobId, replicaId, serverErrorCode, e); throw e; } }