public DataSet getCurrentValuesforRM(int RMId) { DataSet dsCurrentValues = null; try { dsCurrentValues = assetBo.GetRMAssetAggregateCurrentValues(RMId); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "RMDashboard.ascx.cs:getCurrentValuesforRM()"); object[] objects = new object[1]; objects[0] = dsCurrentValues; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } return(dsCurrentValues); }