Exemple #1
0
        public void AddInformation(string msg, string description)
        {
            var ex = new CustomExeption(ExceptionType.Information, msg, description);

            this.AllExceptions.Add(ex);
        }
Exemple #2
0
        public void AddWarnning(string msg, string description)
        {
            var ex = new CustomExeption(ExceptionType.Warning, msg, description);

            this.AllExceptions.Add(ex);
        }
Exemple #3
0
        public void AddError(string msg, string description)
        {
            var ex = new CustomExeption(ExceptionType.Error, msg, description);

            this.AllExceptions.Add(ex);
        }
Exemple #4
0
        public void AddSuccess(string msg, string description)
        {
            var ex = new CustomExeption(ExceptionType.Success, msg, description);

            this.AllExceptions.Add(ex);
        }
Exemple #5
0
 public void Add(CustomExeption ex)
 {
     this.AllExceptions.Add(ex);
 }