Skip to content

Instantly share code, notes, and snippets.

@HEskandari
Created April 20, 2012 06:11
Show Gist options
  • Save HEskandari/2426490 to your computer and use it in GitHub Desktop.
Save HEskandari/2426490 to your computer and use it in GitHub Desktop.
Exception Handler? Or Thrower?
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