writeReplace
private Object writeReplace()
throws ObjectStreamException
When serialized, we eagerly convert sources to strings. This hurts our formatting, but it
guarantees that the receiving end will be able to read the message.
- Throws:
ObjectStreamException