public DataSet GetCustomerAssociatedRel(int customerId) { CustomerAccountDao customerAccountsDao = new CustomerAccountDao(); DataSet dsCustomerAssociates; try { dsCustomerAssociates = customerAccountsDao.GetCustomerAssociatesRel(customerId); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "CustomerAccountBo.cs:GetCustomerAssociatesRel()"); object[] objects = new object[1]; objects[0] = customerId; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(dsCustomerAssociates); }