Line data Source code
1 : #region Copyright
2 : // // -----------------------------------------------------------------------
3 : // // <copyright company="cdmdotnet Limited">
4 : // // Copyright cdmdotnet Limited. All rights reserved.
5 : // // </copyright>
6 : // // -----------------------------------------------------------------------
7 : #endregion
8 :
9 : using System;
10 : using Cqrs.Bus;
11 :
12 : namespace Cqrs.Commands
13 : {
14 : public class NoCommandHandlerRegisteredException : NoHandlerRegisteredException
15 0 : {
16 0 : public NoCommandHandlerRegisteredException(Type type)
17 : : base(string.Format("No command handler is registered for type '{0}'.", type.FullName))
18 : {
19 : }
20 :
21 0 : protected NoCommandHandlerRegisteredException(string message)
22 : : base(message)
23 : {
24 : }
25 : }
26 : }
|