Created
June 8, 2011 23:20
-
-
Save codereflection/1015705 to your computer and use it in GitHub Desktop.
This is how you test Elmah...
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
| using System; | |
| using System.Web.Mvc; | |
| namespace Ris.Conduit.Web.Controllers | |
| { | |
| public class HomeController : Controller | |
| { | |
| public ActionResult Index() | |
| { | |
| return View(); | |
| } | |
| public ViewResult HoneyBader() | |
| { | |
| throw new HoneyBadgerException("Don't Care"); | |
| } | |
| } | |
| internal class HoneyBadgerException : Exception | |
| { | |
| public HoneyBadgerException(string message) | |
| : base(message) | |
| { } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment