@Override
    public void toData(DataOutput out,
        SerializationContext context) throws IOException {
      super.toData(out, context);
      out.writeInt(processorId);
      out.writeBoolean(netWriteSucceeded);
      DataSerializer.writeObject(e, out);
      out.writeBoolean(cacheWriterException);
    }
Invoked on the receiver - which, in this case, was the initiator of the
NetWriteRequestMessage. This concludes the net write request, by communicating an object
value.
geode-core/src/main/java/org/apache/geode/internal/cache/SearchLoadAndWriteProcessor.java