This Serializer serializes akka.protobuf.Message
and com.google.protobuf.Message
It is using reflection to find the parseFrom
and toByteArray
methods to avoid
dependency to com.google.protobuf
.
Use as replacement for an original exception when it can't be serialized or deserialized.