What is best practice when creating your exception classes in a .NET solution: To derive from System.Exception or from System.ApplicationException?
What is best practice when creating your exception classes in a .NET solution: To
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
According to Jeffery Richter in the Framework Design Guidelines book:
It was intended to have some meaning in that you could potentially catch ‘all’ the application exceptions, but the pattern was not followed and so it has no value.