public DataSet GetMFInvAggrCurrentValues(int PortfolioId, int adviserId) { AssetDao assetDao = new AssetDao(); DataSet aggrCurrentValues; try { aggrCurrentValues = assetDao.GetMFInvAggrCurrentValues(PortfolioId, adviserId); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "AssetBo.cs:GetMFInvAggrCurrentValues()"); object[] objects = new object[1]; objects[0] = PortfolioId; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(aggrCurrentValues); }