protected void btnSubmitAddMore_Click(object sender, EventArgs e) { try { CustomerBasicProfileDataCollection(); customerBo.CreateCustomerBasicProfileDetails(customerVo, userVo.UserId, "RGL", "MyPortfolio"); ClearCustomerBasicProfileDeatils(); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "CompleteCustomerProfile.ascx:btnSubmitAddMore_Click()"); object[] objects = new object[3]; objects[0] = userVo.UserId; objects[1] = customerVo; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }