using System; namespace Implab { [Serializable] public class TransientPromiseException : Exception { /// /// Initializes a new instance of the class. /// /// The exception that is the cause of the current exception. public TransientPromiseException(Exception inner) : base("The preceding promise has failed", inner) { } /// /// Initializes a new instance of the class /// /// A that describes the exception. /// The exception that is the cause of the current exception. public TransientPromiseException(string message, Exception inner) : base(message, inner) { } /// /// Initializes a new instance of the class /// /// The contextual information about the source or destination. /// The object that holds the serialized object data. protected TransientPromiseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } } }