public void AddInformation(string msg, string description) { var ex = new CustomExeption(ExceptionType.Information, msg, description); this.AllExceptions.Add(ex); }
public void AddWarnning(string msg, string description) { var ex = new CustomExeption(ExceptionType.Warning, msg, description); this.AllExceptions.Add(ex); }
public void AddError(string msg, string description) { var ex = new CustomExeption(ExceptionType.Error, msg, description); this.AllExceptions.Add(ex); }
public void AddSuccess(string msg, string description) { var ex = new CustomExeption(ExceptionType.Success, msg, description); this.AllExceptions.Add(ex); }
public void Add(CustomExeption ex) { this.AllExceptions.Add(ex); }