public bool CreateGoldNetPosition(GoldVo goldVo, int userId) { GoldDao goldDao = new GoldDao(); bool bResult = false; try { bResult = goldDao.CreateGoldNetPosition(goldVo, userId); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "GoldBo.cs:CreateGoldNetPosition()"); object[] objects = new object[2]; objects[0] = goldVo; objects[1] = userId; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(bResult); }