Table of Contents

Class CodecException

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

The domain exceptions of the codec registry. No public codec member throws a platform exception: argument problems, missing registrations, decoder failures and type mismatches are all reported through this hierarchy, with the offending content type, payload type and event id on every instance.

public abstract class CodecException : Exception, ISerializable
Inheritance
CodecException
Implements
Derived
Inherited Members

Constructors

CodecException(string, string?, Type?, string?, Exception?)

Create a codec failure.

protected CodecException(string message, string? contentType = null, Type? payloadType = null, string? eventId = null, Exception? innerException = null)

Parameters

message string
contentType string
payloadType Type
eventId string
innerException Exception

Properties

ContentType

The datacontenttype involved, when known.

public string? ContentType { get; }

Property Value

string

EventId

The ce-id of the event involved, when known.

public string? EventId { get; }

Property Value

string

PayloadType

The payload type requested or registered, when known.

public Type? PayloadType { get; }

Property Value

Type