Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6204813
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:09:46+00:00 2026-05-24T05:09:46+00:00

More than halfway through the web-service project I am currently working at, my customer

  • 0

More than halfway through the web-service project I am currently working at, my customer decided to inform me just now that I can’t ever throw exceptions to client applications. The question is that until now I was throwing FaultException exceptions everytime there was a validation, database or any other kind of error. I will clearly need to change this behavior without further questions, but the problem is that I don’t really know what to replace it for. The service has 4-5 endpoints which return different DataContract structures, so I thought about designing a base class having a boolean (indicating failure or success) and object (which I would use to send the serialized exceptions if they are to be thrown) fields and make all the other DataContracts inherit from this structure. But I am not really sure this is the best option. What do you advise me to do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T05:09:46+00:00Added an answer on May 24, 2026 at 5:09 am

    This requirement is probably due to the fact that Silverlight consumers are supposed to access the service which can’t handle those exceptions in a proper way unless they switch to the http client stack (which comes with its own drawbacks).

    We’ve solved the problem by including a Fault out parameter in every service method signature that needs to be checked by the client. It really sounds worse than it is in practice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm more than halfway through development of my first iPhone game and I'm currently
I am revamping a website that now uses jQuery. The process is more than
I am little more than beginner PHP programmer and just recently started to use
I have more than 100 million unique strings (VARCHAR(100) UNIQUE in MySQL database). Now
I want to pass more than one variable to other web pages. I try
For more than two days now, I'm trying to grab a list of all
I heard from more than a single source that SVG is dying, it is
More than half a year ago, Oracle issued a Statement of Direction announcing that
More than a long talk to explain that bug, here's a screenshot that explains
Not more than ten minutes ago I decided to write my first script for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.