阅读背景:

如何处理MVC ASP.NET中业务逻辑层中的业务逻辑错误和应用程序异常

来源:互联网 

I'm working on an ASP.NET MVC application in which I need to trap errors in business logic classes and redirect to error controller. I need to trap both errors, ones which are related to my business logic and others which are application exceptions. If I throw an exception from my business logic, how do I catch that in the current controller and how do I redirect to ErrorController?I'm working on an ASP.NET MVC application in wh




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: