Mercurial > silverbladetech
view Chronosv2/source/Extensions/CombinedException.cs @ 21:dfc81f8bb838
working version for sttocks except ui within metrowpf
author | adminsh@apollo |
---|---|
date | Tue, 20 Mar 2012 15:07:31 +0000 |
parents | 443821e55f06 |
children |
line wrap: on
line source
using System; namespace Chronos.Extensions { /// <summary> /// Generic exception for combining several other exceptions /// </summary> public class CombinedException : Exception { #region · Properties · /// <summary> /// Gets the inner exceptions. /// </summary> /// <value>The inner exceptions.</value> public Exception[] InnerExceptions { get; protected set; } #endregion #region · Constructors · /// <summary> /// Initializes a new instance of the <see cref="CombinedException"/> class. /// </summary> /// <param name="message">The message.</param> /// <param name="innerExceptions">The inner exceptions.</param> public CombinedException(string message, Exception[] innerExceptions) : base(message) { this.InnerExceptions = innerExceptions; } #endregion } }