Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What are the best practices for exception handling in n-tier applications?

The application is a fat client based on MVVM pattern with .NET framework.

share|improve this question
you don't give any details about the programming platform, dbb, etc. please detail, best regards, – RBA Jan 4 '11 at 9:50… – RBA Jan 4 '11 at 9:57
up vote 5 down vote accepted

The only advice I can give is that the exception and overall error handling should be taken care at the design level, and not at the implementation level. Making sure that at least a proper framework is at place for error-handling is important. Adding exception code later, most probably will need the design change and hence many changes in the code than expected.

share|improve this answer

This seems to be a pretty hard question, I asked about the same at stackoverlfow and this article came closest to what I wanted.

Specifics for MVVM I haven't seen.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.