public DataSet GetCustomerInsuranceAccounts(int portfolioId, string assetGroup) { CustomerAccountDao customerAccountDao = new CustomerAccountDao(); DataSet dsInsuranceAccounts; try { dsInsuranceAccounts = customerAccountDao.GetCustomerInsuranceAccounts(portfolioId, assetGroup); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "CustomerAccountBo.cs:GetCustomerInsuranceAccounts()"); object[] objects = new object[2]; objects[0] = portfolioId; objects[1] = assetGroup; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(dsInsuranceAccounts); }