Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class SomeController : Controller
- {
- public ActionResult SomeAction()
- {
- new SomeBusinessLogicComponentInTheMVCProject().DoSomething();
- return View();
- }
- }
- public class SomeBusinessLogicComponentInTheMVCProject
- {
- public void DoSomething()
- {
- try
- {
- }
- catch (Exception ex)
- {
- // Will the HandleError filter's OnError
- // handler catch this exception?
- }
- finally
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement