protected void addProcessingException(Exception e) {
    // clear all previous exceptions if e is a CacheClosedException
    if (processingExceptions.isEmpty() || e instanceof CancelException) {
      processingExceptions = new HashSet<>();
    }
    processingExceptions.add(e);
  }
Adds an entry op for this tx to do on the far side
geode-core/src/main/java/org/apache/geode/internal/cache/TXCommitMessage.java