Exemplo n.º 1
0
        public DataSet GetULIPSubPlans(int ulipPlanId)
        {
            AssetDao assetDao = new AssetDao();
            DataSet  getUlipSubPlanDs;

            try
            {
                getUlipSubPlanDs = assetDao.GetULIPSubPlans(ulipPlanId);
            }
            catch (BaseApplicationException Ex)
            {
                throw Ex;
            }
            catch (Exception Ex)
            {
                BaseApplicationException exBase       = new BaseApplicationException(Ex.Message, Ex);
                NameValueCollection      FunctionInfo = new NameValueCollection();
                FunctionInfo.Add("Method", "AssetBo.cs:GetULIPSubPlans()");
                object[] objects = new object[1];
                objects[0]   = ulipPlanId;
                FunctionInfo = exBase.AddObject(FunctionInfo, objects);
                exBase.AdditionalInformation = FunctionInfo;
                ExceptionManager.Publish(exBase);
                throw exBase;
            }
            return(getUlipSubPlanDs);
        }