Table of Contents

Class MessageSerializerException

Namespace
Silverback.Messaging.Serialization
Assembly
Silverback.Integration.dll

The exception that is thrown by the IMessageSerializer implementations when the message cannot be serialized or deserialized. This exception is thrown only when a Silverback specific error occurs, other exceptions related to reflection or the underlying serializer are not wrapped.

[ExcludeFromCodeCoverage]
public class MessageSerializerException : SilverbackException, ISerializable
Inheritance
MessageSerializerException
Implements
Inherited Members

Constructors

MessageSerializerException()

Initializes a new instance of the MessageSerializerException class.

public MessageSerializerException()

MessageSerializerException(string)

Initializes a new instance of the MessageSerializerException class with the specified message.

public MessageSerializerException(string message)

Parameters

message string

The exception message.

MessageSerializerException(string, Exception)

Initializes a new instance of the MessageSerializerException class with the specified message and inner exception.

public MessageSerializerException(string message, Exception innerException)

Parameters

message string

The exception message.

innerException Exception

The inner exception.