##// END OF EJS Templates
Fixed promise rejection when there is not specified error handler in the reaction....
Fixed promise rejection when there is not specified error handler in the reaction. FIXED SPELLING IN THE XML CONTAINER CONFIGURATION signleton->singleton Code cleanup Update tests make them working on dotnet core

File last commit:

r289:95896f882995 v3.0.14 v3
r295:28af686e24f7 default
Show More
PromiseTransientException.cs
32 lines | 1.4 KiB | text/x-csharp | CSharpLexer
/ Implab / src / PromiseTransientException.cs
cin
Added tests for Implab.ServiceHost.Unity configuration loader.
r289 using System;
namespace Implab {
[Serializable]
public class PromiseTransientException : Exception {
/// <summary>
/// Initializes a new instance of the <see cref="PromiseTransientException"/> class.
/// </summary>
/// <param name="inner">The exception that is the cause of the current exception.</param>
public PromiseTransientException(Exception inner) : base("The preceding promise has failed", inner) {
}
/// <summary>
/// Initializes a new instance of the <see cref="PromiseTransientException"/> class
/// </summary>
/// <param name="message">A <see cref="T:System.String"/> that describes the exception. </param>
/// <param name="inner">The exception that is the cause of the current exception. </param>
public PromiseTransientException(string message, Exception inner)
: base(message, inner) {
}
/// <summary>
/// Initializes a new instance of the <see cref="PromiseTransientException"/> class
/// </summary>
/// <param name="context">The contextual information about the source or destination.</param>
/// <param name="info">The object that holds the serialized object data.</param>
protected PromiseTransientException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context) {
}
}
}