Class NoEventHandlerRegisteredException
The System.Exception that is thrown when no IEventHandler if found for a given IEvent<TAuthenticationToken>.
Inheritance
System.Object
System.Exception
System.SystemException
System.InvalidOperationException
NoEventHandlerRegisteredException
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 class NoEventHandlerRegisteredException : NoHandlerRegisteredException, ISerializable, _Exception
Constructors
NoEventHandlerRegisteredException(String)
Instantiates a new instance of NoEventHandlerRegisteredException with a specified error message.
Declaration
protected NoEventHandlerRegisteredException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message that describes the error. |
NoEventHandlerRegisteredException(Type)
Instantiates a new instance of NoEventHandlerRegisteredException.
Declaration
public NoEventHandlerRegisteredException(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The System.Type of IEvent<TAuthenticationToken> that expected an IEventHandler. |