Line data Source code
1 : #region Copyright
2 : // // -----------------------------------------------------------------------
3 : // // <copyright company="Chinchilla Software Limited">
4 : // // Copyright Chinchilla Software Limited. All rights reserved.
5 : // // </copyright>
6 : // // -----------------------------------------------------------------------
7 : #endregion
8 :
9 : using System;
10 :
11 : namespace Cqrs.Exceptions
12 : {
13 : /// <summary>
14 : /// A configuration caused an <see cref="Exception"/>.
15 : /// </summary>
16 : [Serializable]
17 : public class InvalidConfigurationException : Exception
18 1 : {
19 : /// <summary>
20 : /// Instantiate a new instance of <see cref="InvalidConfigurationException"/> with a specified error message and a reference to the inner <paramref name="exception"/> that is the cause of this <see cref="Exception"/>.
21 : /// </summary>
22 : /// <param name="message">The error message that explains the reason for the exception.</param>
23 : /// <param name="exception">The <see cref="Exception"/> that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner <see cref="Exception"/> is specified.</param>
24 1 : public InvalidConfigurationException(string message, Exception exception)
25 : : base (message, exception)
26 : {
27 : }
28 : }
29 : }
|