Mercurial > silverbladetech
comparison Chronosv2/source/Extensions/CombinedException.cs @ 10:443821e55f06
Initial cleaned up add from Codeplex files
author | stevenh7776 stevenhollidge@hotmail.com |
---|---|
date | Tue, 21 Feb 2012 17:25:44 +0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9:904a9faadf8b | 10:443821e55f06 |
---|---|
1 using System; | |
2 | |
3 namespace Chronos.Extensions | |
4 { | |
5 /// <summary> | |
6 /// Generic exception for combining several other exceptions | |
7 /// </summary> | |
8 public class CombinedException : Exception | |
9 { | |
10 #region · Properties · | |
11 | |
12 /// <summary> | |
13 /// Gets the inner exceptions. | |
14 /// </summary> | |
15 /// <value>The inner exceptions.</value> | |
16 public Exception[] InnerExceptions | |
17 { | |
18 get; | |
19 protected set; | |
20 } | |
21 | |
22 #endregion | |
23 | |
24 #region · Constructors · | |
25 | |
26 /// <summary> | |
27 /// Initializes a new instance of the <see cref="CombinedException"/> class. | |
28 /// </summary> | |
29 /// <param name="message">The message.</param> | |
30 /// <param name="innerExceptions">The inner exceptions.</param> | |
31 public CombinedException(string message, Exception[] innerExceptions) | |
32 : base(message) | |
33 { | |
34 this.InnerExceptions = innerExceptions; | |
35 } | |
36 | |
37 #endregion | |
38 } | |
39 } |