Class NoHandlersRegisteredException
The System.Exception that is thrown when no IHandler if found for a given IMessage, but more than one was expected.
Inheritance
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
NoHandlersRegisteredException
Inherited Members
System.Exception.GetBaseException()
System.Exception.ToString()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.Message
System.Exception.Data
System.Exception.InnerException
System.Exception.TargetSite
System.Exception.StackTrace
System.Exception.HelpLink
System.Exception.Source
System.Exception.HResult
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
Namespace: Cqrs.Exceptions
Assembly: Cqrs.dll
Syntax
[Serializable]
public abstract class NoHandlersRegisteredException : InvalidOperationException, ISerializable, _Exception
Constructors
NoHandlersRegisteredException(String)
Instantiates a new instance of NoHandlersRegisteredException with a specified error message.
Declaration
protected NoHandlersRegisteredException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
NoHandlersRegisteredException(Type)
Instantiates a new instance of NoHandlersRegisteredException.
Declaration
protected NoHandlersRegisteredException(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The System.Type of IMessage that expected more than one IHandler. |