SHARE
TWEET

Untitled

a guest Dec 13th, 2012 17 Never
  1. public class SomeController : Controller
  2. {
  3.     public ActionResult SomeAction()
  4.     {
  5.         new SomeBusinessLogicComponentInTheMVCProject().DoSomething();
  6.         return View();
  7.     }
  8. }
  9.  
  10. public class SomeBusinessLogicComponentInTheMVCProject
  11. {
  12.     public void DoSomething()
  13.     {
  14.         try
  15.         {
  16.         }
  17.         catch (Exception ex)
  18.         {
  19.             // Will the HandleError filter's OnError
  20.             // handler catch this exception?
  21.         }
  22.         finally
  23.         {
  24.         }
  25.     }
  26. }
RAW Paste Data
Top