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