Browsing All Posts filed under »Error Handling«

Catching the real exception …

January 4, 2011 by

2

In the previous post (see whose-fault-is-it), I mentioned that there is a trick you can implement in order to enable your clients catch the exact exception thrown by the server instead of the generic FaultException. This contradicts the WCF pattern according to which the client should catch only FaultExceptions. The reason WCF promotes catching generic […]

Whose fault is it?

December 26, 2010 by

0

In this post I’m going to explain what is the SOAP Fault, and how it should be handled. There are 3 types of SOAP messages: Request Reply Fault when the client receives a fault message, itĀ  indicatesĀ  that an error occurred on the server side which WCF translated to the client as a fault. It […]