private void OnError(IntPtr converter, string errorText)
        {
            Tracer.Warn(string.Format("T:{0} Conversion Error: {1}", Thread.CurrentThread.Name, errorText));

            try
            {
                if (Error != null)
                {
                    var args = new ErrorEventArgs
                    {
                        Document     = ProcessingDocument,
                        ErrorMessage = errorText
                    };

                    Error(this, args);
                }
            }
            catch (Exception e)
            {
                Tracer.Warn(string.Format("T:{0} Exception in Error event handler", Thread.CurrentThread.Name), e);
            }
        }
        private void OnError(IntPtr converter, string errorText)
        {
            Tracer.Warn(string.Format("T:{0} Conversion Error: {1}", Thread.CurrentThread.Name, errorText));

            try
            {
                if (Error != null)
                {
                    var args = new ErrorEventArgs
                    {
                        Document = ProcessingDocument,
                        ErrorMessage = errorText
                    };

                    Error(this, args);
                }
            }
            catch (Exception e)
            {
                Tracer.Warn(string.Format("T:{0} Exception in Error event handler", Thread.CurrentThread.Name), e);
            }
        }