In my service's interface, I am mentioning what type of fault/exception i might receive. Here in the below code, ServiceTempContract is my fault contract.
public interface IService
and in my client, i am catching "FaultException<ServiceTempContract>".
Can I have many exceptions mapped to a single method?
I might receive some other exception in the method "DoSomething()", say, OrderTempContract ( which is another fault contract in my WCF). How can i specify that my method might catch either of these two exceptions?
Hope i have explained clearly. If i am missing anything, please let me know.