예제 #1
0
        public static void AdicionarNoControle(this ExcecaoGenericaException exception)
        {
            if (exception == null)
            {
                return;
            }

            _excecoes.Add(exception);
        }
예제 #2
0
        public static string Trace(this ExcecaoGenericaException exception)
        {
            StringBuilder builder = new StringBuilder();

            builder.AppendLine("Origem::::::::");

            exception.TraceIn(builder);

            return(builder.ToString());
        }