public override void ReportException(Exception e, ExceptionReportFlags flags) { if (ProductReleaseVersion != null && flags == 0) { ReportBackgroundException(e); } else { _excHandler.ReportException(e, flags); } }
internal void ReportException(Exception ex, ExceptionReportFlags flags) { Trace.WriteLine(ex.ToString()); if (IsIgnoredException(ex)) { return; } lock ( _exceptionQueue ) { _exceptionQueue.Enqueue(new QueuedException(ex, flags)); } if (_ownerControl != null && _ownerControl.IsHandleCreated && !_ownerControl.IsDisposed && _ownerControl.InvokeRequired) { Core.UIManager.QueueUIJob(new MethodInvoker(ShowExceptionDialog)); } else { ShowExceptionDialog(); } }
public override void ReportException(Exception e, ExceptionReportFlags flags) { throw new Exception(e.Message, e); }
/// <summary> /// Reports an exception to the UI and provides an opportunity to submit this exception to the ITN tracker. /// </summary> /// <param name="e">The exception being reported.</param> /// <param name="flags">Provides a combination of flags that specify whether the exception is fatal or if the log file is to be attached when the exception is submitted. See <see cref="ExceptionReportFlags"/> for possible values.</param> public abstract void ReportException(Exception e, ExceptionReportFlags flags);
/// <summary> /// Reports an exception to the UI and provides an opportunity to submit this exception to the tracker. /// </summary> /// <param name="e">The exception being reported.</param> /// <param name="flags">Provides a combination of flags that specify whether the exception is fatal or if the log file is to be attached when the exception is submitted. See <see cref="ExceptionReportFlags"/> for possible values.</param> public static void ReportException(Exception e, ExceptionReportFlags flags) { ICore.Instance.ReportException(e, flags); }
public QueuedException(Exception exception, ExceptionReportFlags flags) { _exception = exception; _flags = flags; }
public override void ReportException(Exception e, ExceptionReportFlags flags) { _reportedException = e; }