コード例 #1
0
        public DataSet GetAssetInstrumentSubSubCategory(string groupCode, string instrumentCategory, string instrumentSubCategory)
        {
            AssetDao assetDao = new AssetDao();
            DataSet  assetSubSubCategories;

            try
            {
                assetSubSubCategories = assetDao.GetAssetInstrumentSubSubCategory(groupCode, instrumentCategory, instrumentSubCategory);
            }
            catch (BaseApplicationException Ex)
            {
                throw Ex;
            }
            catch (Exception Ex)
            {
                BaseApplicationException exBase       = new BaseApplicationException(Ex.Message, Ex);
                NameValueCollection      FunctionInfo = new NameValueCollection();
                FunctionInfo.Add("Method", "AssetBo.cs:GetAssetInstrumentSubSubCategory()");
                object[] objects = new object[3];
                objects[0]   = groupCode;
                objects[1]   = instrumentCategory;
                objects[2]   = instrumentSubCategory;
                FunctionInfo = exBase.AddObject(FunctionInfo, objects);
                exBase.AdditionalInformation = FunctionInfo;
                ExceptionManager.Publish(exBase);
                throw exBase;
            }

            return(assetSubSubCategories);
        }