public void ReportExceptions(ExceptionInfo[] exceptionInfoArray) {
            if (exceptionInfoArray == null)
                return;

            foreach (ExceptionInfo exceptionInfo in exceptionInfoArray) {
                ReportException(exceptionInfo);
            }
        }
        public void ReportException(ExceptionInfo exceptionInfo) {
            if (!IsEnabled())
                return;

            if (exceptionInfo == null)
                return;

            ExceptionServerInfo serverInfo = new ExceptionServerInfo();
            serverInfo.FileName = exceptionInfo.FileName;
            serverInfo.LineNumber = exceptionInfo.LineNumber;
            serverInfo.Message = exceptionInfo.Message;
            serverInfo.Data = exceptionInfo.Data;
            serverInfo.IPAddress = HttpContext.Current.Request.UserHostAddress;
            serverInfo.UserAgent = HttpContext.Current.Request.UserAgent;

            //Raise Event
            if (OnClientException != null)
                OnClientException(new object(), new ClientExceptionEventArgs(serverInfo));

        }