croisharp
croisharp

Reputation: 1986

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 every service operation, but i'm not shure is well.
Regards,

Sergiu.

Upvotes: 0

Views: 81

Answers (1)

hungryMind
hungryMind

Reputation: 7009

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.

Upvotes: 2

Related Questions