using System; namespace SUISS.Cloud { public class SparkSocException : Exception { public SparkSocException(string message, int httpCode, int errorCode) : base(message) { this.HttpCode = httpCode; this.ErrorCode = errorCode; } public SparkSocException(string message) : base(message) { } public SparkSocException(string message, Exception inner) : base(message, inner) { } public int ErrorCode { get { return this._errorCode; } private set { this._errorCode = value; } } public int HttpCode { get { return this._httpCode; } private set { this._httpCode = value; } } private int _errorCode; private int _httpCode; } }