>That's not the way it works here. There is no generic error handler like in VFP. Throw will send the error up one level in the error handling hierarchy. There are a couple of ways to deal with errors.
>
>- Add a try/catch in the main program to catch everything that is thrown. But I don't recommend this. Ideally, you should handle the error as close to where it happens as possible and only handle errors that have a real possbility of occuring. In otherwords, specific errors are taken care of where they occur.
>
>- Use third party software that logs unhandled errors. For MVC, I'm using Elmah.
>
>Do a web search for "Exception handling .Net"
>
Thanks a lot.
If it's not broken, fix it until it is.
My Blog