示例#1
0
        private static void ProcessException <T>(EntityExemptionType exType, Collection <T> entities, System.Exception ex) where T : IEntity
        {
            EntityException entityEx  = new EntityException((int)exType, String.Format("{0} generated a system failure.", entities.GetType()), ex);
            List <string>   variables = new List <string>();

            entities.Exceptions.Add(entityEx);
            //logException("", ex);
        }
示例#2
0
        private static void ProcessException(EntityExemptionType exType, IEntity entity, System.Exception ex)
        {
            EntityException entityEx  = new EntityException((int)exType, String.Format("{0} generated a system failure.", entity.GetType()), ex);
            List <string>   variables = new List <string>();

            entity.Exceptions.Add(entityEx);
            //logException(entityEx.Print(entity), ex);
        }