Table of Contents

Class GenericMessageTypeException

Namespace
CarrotMQ.Core.MessageProcessing
Assembly
CarrotMQ.Core.dll

Exception thrown when a handler cannot be registered due to a generic message type.

public sealed class GenericMessageTypeException : Exception, ISerializable
Inheritance
GenericMessageTypeException
Implements
Inherited Members

Methods

Create(Type, Type)

Creates a new instance of GenericMessageTypeException with a specific response type and handler type.

public static GenericMessageTypeException Create(Type response, Type handlerType)

Parameters

response Type

The type of the response associated with the handler.

handlerType Type

The type of the handler class.

Returns

GenericMessageTypeException

A new instance of GenericMessageTypeException.