您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
22 行
581 B
22 行
581 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace RSG.Exceptions
|
|
{
|
|
/// <summary>
|
|
/// Exception thrown when an operation is performed on a promise that is in an invalid
|
|
/// state for it to handle.
|
|
/// </summary>
|
|
public class PromiseStateException : PromiseException
|
|
{
|
|
public PromiseStateException() { }
|
|
|
|
public PromiseStateException(string message) : base(message) { }
|
|
|
|
public PromiseStateException(string message, Exception inner)
|
|
: base(message, inner)
|
|
{ }
|
|
}
|
|
}
|