Пример #1
0
        public static void CheckForInnerException(Type exceptionType, string message, MethodDelegate tryCode)
        {
            Dictionary <string, string> exceptionProperties = new Dictionary <string, string>();

            exceptionProperties.Add("Message", message);

            ExceptionHelpers.CheckForInnerException(exceptionType, exceptionProperties, tryCode);
        }
Пример #2
0
 public static void CheckForInnerException(Type exceptionType, MethodDelegate tryCode)
 {
     ExceptionHelpers.CheckForInnerException(exceptionType, new Dictionary <string, string>(), tryCode);
 }