/// <summary> /// 获取IoCException /// </summary> /// <param name="context"></param> /// <param name="reqMsg"></param> /// <param name="message"></param> /// <returns></returns> public static IoCException GetException(OperationContext context, RequestMessage reqMsg, string message) { var exception = new WarningException(message); //获取警告异常 return(GetException(context, reqMsg, exception)); }
/// <summary> /// 获取IoCException /// </summary> /// <param name="context"></param> /// <param name="reqMsg"></param> /// <param name="message"></param> /// <returns></returns> public static IoCException GetException(OperationContext context, RequestMessage reqMsg, string message) { var exception = new WarningException(message); //获取警告异常 return GetException(context, reqMsg, exception); }