Created
April 20, 2012 06:11
-
-
Save HEskandari/2426490 to your computer and use it in GitHub Desktop.
Exception Handler? Or Thrower?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ActionResult HandleException() | |
{ | |
return HandleException(new Exception("An Exception Has Occurred")); | |
} | |
public ActionResult HandleException(Exception ex) | |
{ | |
throw ex; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment