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 :
11 : namespace Cqrs.Bus
12 : {
13 : public class NoHandlerRegisteredException : InvalidOperationException
14 0 : {
15 0 : public NoHandlerRegisteredException(Type type)
16 : : base(string.Format("No handler is registered for type '{0}'.", type.FullName))
17 : {
18 : }
19 :
20 0 : public NoHandlerRegisteredException(string message)
21 : : base(message)
22 : {
23 : }
24 : }
25 : }
|