Table of Contents

Class PayloadEncodeException

Namespace
Virtufin.Worker.DevKit.Codecs
Assembly
Virtufin.Worker.DevKit.dll

An encoder failed or produced a different datacontenttype than requested.

public sealed class PayloadEncodeException : CodecException, ISerializable
Inheritance
PayloadEncodeException
Implements
Inherited Members

Constructors

PayloadEncodeException(string, Type, Exception)

Create the failure around an encoder exception.

public PayloadEncodeException(string contentType, Type payloadType, Exception innerException)

Parameters

contentType string
payloadType Type
innerException Exception

PayloadEncodeException(string, Type, string)

Create the failure from a reason (null payload, mislabelled output).

public PayloadEncodeException(string contentType, Type payloadType, string reason)

Parameters

contentType string
payloadType Type
reason string