public override bool Notify(Exception ex, string humaneMsg) { var exMsg = ExceptionMsg.Build(ex, humaneMsg); var rtnResult = ShowMessageBox(exMsg); LogToFile.WriteMsg(exMsg); return(rtnResult); }
protected ExceptionHandlerBase(ExceptionMsg exceptionMsg, LogToFile logToFile) { ExceptionMsg = exceptionMsg; LogToFile = logToFile; }
public ExceptionHandlerLog(ExceptionMsg exceptionMsg, LogToFile logToFile) : base(exceptionMsg, logToFile) { }
public override bool Notify(Exception ex, string humaneMsg) { return(LogToFile.WriteMsg(ExceptionMsg.Build(ex, humaneMsg))); }
public ExceptionHandlerMessageBox(ExceptionMsg exceptionMsg, LogToFile logToFile) : base(exceptionMsg, logToFile) { }