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

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

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

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

            this.AllExceptions.Add(ex);
        }
Exemplo n.º 5
0
 public void Add(CustomExeption ex)
 {
     this.AllExceptions.Add(ex);
 }