Mercurial > pub > ImplabNet
comparison Implab/PromiseTransientException.cs @ 119:2573b562e328 v2
Promises rewritten, added improved version of AsyncQueue
author | cin |
---|---|
date | Sun, 11 Jan 2015 19:13:02 +0300 |
parents | |
children | f75cfa58e3d4 |
comparison
equal
deleted
inserted
replaced
118:e046a94eecb1 | 119:2573b562e328 |
---|---|
1 using System; | |
2 | |
3 namespace Implab { | |
4 | |
5 [Serializable] | |
6 public class PromiseTransientException : Exception { | |
7 /// <summary> | |
8 /// Initializes a new instance of the <see cref="PromiseTransientException"/> class. | |
9 /// </summary> | |
10 /// <param name="inner">The exception that is the cause of the current exception.</param> | |
11 public PromiseTransientException(Exception inner) : base("The preceding promise has failed", inner) { | |
12 } | |
13 | |
14 /// <summary> | |
15 /// Initializes a new instance of the <see cref="PromiseTransientException"/> class | |
16 /// </summary> | |
17 /// <param name="message">A <see cref="T:System.String"/> that describes the exception. </param> | |
18 /// <param name="inner">The exception that is the cause of the current exception. </param> | |
19 public PromiseTransientException(string message, Exception inner) | |
20 : base(message, inner) { | |
21 } | |
22 | |
23 /// <summary> | |
24 /// Initializes a new instance of the <see cref="PromiseTransientException"/> class | |
25 /// </summary> | |
26 /// <param name="context">The contextual information about the source or destination.</param> | |
27 /// <param name="info">The object that holds the serialized object data.</param> | |
28 protected PromiseTransientException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) | |
29 : base(info, context) { | |
30 } | |
31 } | |
32 } | |
33 |