/// <summary> /// Initializes a new instance of the <see cref="ExceptionBase" /> class. /// </summary> /// <param name="exceptionBase">The exception base.</param> public ExceptionBase(ExceptionBase exceptionBase = null) : base(exceptionBase) { if (exceptionBase != null) { Message = exceptionBase.Message; RawUrl = exceptionBase.RawUrl; TargetSite = exceptionBase.TargetSite; StackTrace = exceptionBase.StackTrace; Source = exceptionBase.Source; OperatorCredential = exceptionBase.OperatorCredential; EventKey = exceptionBase.EventKey; } }
/// <summary> /// Initializes a new instance of the <see cref="ExceptionCriteria" /> class. /// </summary> /// <param name="exceptionBase">The exception base.</param> public ExceptionCriteria(ExceptionBase exceptionBase) : base(exceptionBase) { }
/// <summary> /// Initializes a new instance of the <see cref="ExceptionInfo"/> class. /// </summary> public ExceptionInfo(ExceptionBase exceptionBase = null) : base(exceptionBase) { Key = Guid.NewGuid(); }