Ejemplo n.º 1
0
 /// <summary>
 /// Executes the given delegate and returns the exception that it throws.
 /// </summary>
 protected Exception GenerateException(Action willThrow)
 {
     return(ExceptionHelpers.GenerateException(willThrow));
 }