public IWFactory CreateWFactory() { IWFactory factory = null; try { factory = new WFactory(); } catch (Exception exception) { this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace); } return(factory); }
public IWFactory CreateWFactory() { IWFactory factory = null; try { factory = new WFactory(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(factory); }