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

            exceptionProperties.Add("Message", message);
            ExceptionHelpers.CheckForException(exceptionType, exceptionProperties, tryCode, checkValidationException);
        }
Пример #2
0
 public static void CheckForException(
     Type exceptionType,
     MethodDelegate tryCode)
 {
     ExceptionHelpers.CheckForException(
         exceptionType,
         new Dictionary <string, string>(),
         tryCode,
         false);
 }
Пример #3
0
 public static void CheckForException(
     Type exceptionType,
     Dictionary <string, string> exceptionProperties,
     MethodDelegate tryCode)
 {
     ExceptionHelpers.CheckForException(
         exceptionType,
         exceptionProperties,
         tryCode,
         false);
 }
Пример #4
0
 public static void CheckForException(Type exceptionType, string message, MethodDelegate tryCode)
 {
     ExceptionHelpers.CheckForException(exceptionType, message, tryCode, false);
 }