开发者

WSSF application, catch exception level

At which level in a Web Service Software Factory or any N-Tier application is correct to catch .NET exceptions, and throw custom exceptions (Faults) ? I did it in service implementation and created a fault contract for 开发者_StackOverflow中文版every service operation, but i'm not shure is well.

Regards,

Sergiu.


That's the best place to catch exception. Usually top layer when control leaves the code is the best place to get the exception. It will contain all inner exception and complete stack trace.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜