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