Deserialize an exception message into an exception.
Deserialize an exception message into an exception.
The exception serializer should make a best effort attempt at deserializing the message, but should not expect the message to be in any particular format. If it cannot deserialize the message, it should return a generic exception, it should not itself throw an exception.
The message to deserialize.
The deserialized exception.
Serialize the given exception to an exception message.
Serialize the given exception to an exception message.
The raw exception message consists of an error code, a message protocol, and a message entity to send across the wire.
The exception serializer may attempt to match one of the protocols passed into the accept parameter.
The exception to serialize.
The accepted protocols.
The raw exception message.
Handles the serialization and deserialization of exceptions.