public DataSet GetAssetOwnerShip(int AssetId, string AssetGroupCode, int customerId, int associateId, Int16 IsMainCustomer) { AssetDao assetDao = new AssetDao(); DataSet getAssetOwnerShipDs; try { getAssetOwnerShipDs = assetDao.GetAssetOwnerShip(AssetId, AssetGroupCode, customerId, associateId, IsMainCustomer); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "AssetBo.cs:GetAssetOwnerShip()"); object[] objects = new object[4]; objects[0] = AssetId; objects[1] = AssetGroupCode; objects[2] = customerId; objects[3] = associateId; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(getAssetOwnerShipDs); }