public IScenarioTotalTimesCalculation Create() { IScenarioTotalTimesCalculation calculation = null; try { calculation = new ScenarioTotalTimesCalculation(); } catch (Exception exception) { this.Log.Error("Exception message: " + exception.Message + " and stacktrace " + exception.StackTrace); } return(calculation); }
public IScenarioTotalTimesCalculation Create() { IScenarioTotalTimesCalculation calculation = null; try { calculation = new ScenarioTotalTimesCalculation(); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(calculation); }