Geeks With Blogs

News FAQ on the correct forum to post at:

Advice concerning ApplicationException is somewhat conflicting. If you look at the MSDN Framework 2.0 advice, it would appear that user defined exceptions should inherit from it, however for the current advice see the framework 4.0 advice at

In particular you should note the statement "If you are designing an application that needs to create its own exceptions, you are advised to derive custom exceptions from the Exception class. It was originally thought that custom exceptions should derive from the ApplicationException class; however in practice this has not been found to add significant value. "

Posted on Monday, September 12, 2011 12:38 PM | Back to top

Comments on this post: ApplicationException - Should you derive from it?

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © TATWORTH | Powered by: