faultexception Questions
4
Solved
What's more efficient? Throwing an exception or throwing a fault... the way I see it is that there's 2 scenarios:
An exception occurred and is caught, do you throw that existing Exception or crea...
Headlong asked 19/5, 2011 at 16:46
5
I am trying to catch a given FaultException on a WCF client. I basically need to extract a inner description from the fault class so that I can then package it in another exception for the upper la...
Phobia asked 8/9, 2010 at 16:38
3
Solved
Solution:
A bit of tracing showed the CommunicationException was being thrown because there was an issue with my exception T not serializing correctly; because, two layers deep, I had an anonymous...
Dulaney asked 1/7, 2011 at 11:39
1
I am currently working on WPF application with a WCF backend. We have implemented a client logging solution and a server logging solution for exception handling, and they work great, but it is ofte...
Ennis asked 10/9, 2012 at 22:16
2
I have created a simple wcf service hosted in IIS and wcf client and figured out that when u catch a FaultException from the wcf service and then call client.Abort() to release the session (as the ...
Theola asked 12/10, 2010 at 13:26
1
Solved
I'm trying to create some custom FaultException. I've made a DataContract class called CreateFault.
[DataContract]
public class CreateFault
{
private string report;
public CreateFault(string me...
Cordwain asked 27/2, 2012 at 10:55
1
Solved
I've read all there is to read on this, but maybe I'm missing something (well, definitely I'm missing something otherwise it would be working already)
I'm throwing some exception error inside my s...
Fanchon asked 5/7, 2011 at 20:13
2
Solved
I have a question on how to send a custom exception as FaultException. It works when I use a system Exception like ArgumentException, but if I change it to my custom exception "TestException" it fa...
Verve asked 19/4, 2011 at 13:36
2
What's the best way to unit test expected faults from WCF services?
I am attempting to unit test a WCF service which is (correctly) throwing FaultExceptions for a certain reproducible error. The u...
Decurion asked 1/11, 2010 at 16:59
1
Solved
I have a simple IPC mechanism that uses WCF and named pipes. My goal is to propagate exception details (including the stacktrace) to the client for logging purposes (the rest of the application log...
Tempe asked 3/2, 2011 at 16:25
3
Solved
I understand that WCF will convert an exception into a fault and send it back as a SOAP message, but I was wondering if this is truly interoperable. I guess I'm having a tough time trying to figure...
Odonto asked 10/1, 2011 at 19:34
1
Solved
I have some WCF services with predefined FaultContract attributes. When the FaultException<TDetail> exceptions are thrown, they're sending StackTrace, Source and other potentially unsave info...
Hendecasyllable asked 28/10, 2010 at 19:9
1
© 2022 - 2024 — McMap. All rights reserved.