using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Muchinfo.MTPClient.CustomException { public class ExceptionManager { /// /// 未连接到服务器或连接服务器超时,请联系客服人员! /// public static readonly int ConnectTradeServerTimeOut = -60007; /// /// 未登录到一级服务的错误 /// public static readonly int UnLoginError = 10001; /// /// 请求超时 /// public static readonly int ReqeustTimeOutError = 10000; /// /// 客户端未知错误代码 /// public static readonly int UnknownClientErrorCode = -999; /// /// 服务返回空错误代码 /// public static readonly int UnknownServiceErrorCode = -998; /// /// 二级服务请求超时 /// public static readonly int ServiceOutTimeErrorCode = -997; /// /// 二级服务请求超时 /// public static readonly int AccountLoginOutErrorCode = -996; /// /// 无法连接服务器 /// public static readonly int CanNotConnectServer = -995; /// /// 持仓金额超过最大允许持仓金额。 /// public static readonly int AmountOverMaxAgreeAmout = -993; /// /// "获取用户树根出错!" /// public static readonly int GetUserPowerError = -992; /// /// 获取网络异常,无法查询用户信息资金信息出错。 /// public static readonly int GetUserAccountError = -991; /// /// 获取网络异常,无法查询增量点差 。 /// public static readonly int GetSubPtError = -990; /// /// 获取网络异常,无法查询用户风险率类型。 /// public static readonly int GetRiskRateError = -989; /// /// 获取网络异常,无法查询用户基本信息。 /// public static readonly int GetUserBaseInfoError = -988; /// /// 获取网络异常,无法查询用户资金信息。 /// public static readonly int GetUserAmountInfoError = -987; /// /// 记录账号信息出错,文件被占用或用户无权限操作。 /// public static readonly int SaveUseInfoError = -986; /// /// 读取账号信息出错,用户无权限操作。 /// public static readonly int ReadUseInfoError = -985; /// /// 查询特别会员账号二级服务响应错误。 /// public static readonly int SpecSecondRequetError = -984; /// /// 提交确认密码时二级服务响应错误。 /// public static readonly int SignPWDRequetError = -983; /// /// 密码加密出错。 /// public static readonly int EncryptError = -982; /// /// 服务链路已断开 /// public static readonly int ServerDisConnectError = -981; /// /// 二级服务无响应内容 /// public static readonly int SecondServerUnRequest = -980; /// /// 更新加密密钥出错。 /// public static readonly int AlterKeyError = -979; /// /// 创建代理失败 /// public static readonly int CreateProxyError = -978; /// /// 查询市场出错 /// public static readonly int QueryMarketsError = -977; /// /// 查询商品出错 /// public static readonly int QueryGoodsError = -976; /// /// 查询交易所出错 /// public static readonly int QueryExchangeError = -975; /// /// 客户端不支持此类用户登录。 /// public static readonly int UsrerTypeError = -974; /// /// 创建实时历史行情失败。 /// public static readonly int CreateQuoteHistoryLinkError = -973; /// /// 未创建实时行情代理。 /// public static readonly int RealTimeQuoteError = -972; /// /// 服务在队列等待发送超时。 /// public static readonly int WaitToSendError = -971; /// /// 行情应用服务连接超时,请联系客服人员! /// public static readonly int QuoteDisConnectError = -959; /// /// 网络异常,请重新登录! /// public static readonly int UserLoginError = -958; //用户被踢下线 /// /// 无法连接服务器,请联系客服人员! /// public static readonly int DisConnectServerError = -957; /// /// 登录超过尝试次数,系统将退出。 /// public static readonly int LoginTimesError = -956; /// /// 认证服务地址未配置 /// public static readonly int LoginServiceUnConfigError = -955; /// /// 认证服务地址连接错误 /// public static readonly int LoginServiceAddressError = -954; /// /// 本机不支持交易端浏览网页,如需帮助请与管理员联系! /// public static readonly int WebKitNotSupportError = -951; /// /// 本机不支持交易系统打开浏览器,请复制地址到浏览器中打开。 /// public static readonly int OpenIEError = -953; /// /// 等待服务端的交易结果超过30秒,请稍后确认交易结果 /// public static readonly int OrderReqeustTimeOutError = -930; /// /// 该账号无相关的商品权限! /// public static readonly int TradeAccountNoGoodsPower = -952; /// /// 软件版本过低,请从官方网站下载新版本! /// public static readonly int ClientVersionUpdateError = 2001; /// /// 令牌已更新,请重新登录! /// public static readonly int CheckedTokenUpdateError = -60005; /// /// 网络异常,数据错误! /// public static readonly int NetWorkErrorDataError = -60008; } }