Define your own exception classes
When do you consider it necessary to define your own exception classes?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Nov 12, 2013, 12:44 AM EST
Jignesh TrivediRank #16 · 50.3K reputationPosted Nov 12, 2013, 1:38 AM EST
yes agree with Vulpes, .net framework contain mostly all kind of exception types, if these are not sufficient for your requirement then you may create your own exception class.
Please refer
http://blog.gurock.com/articles/creating-custom-exceptions-in-dotnet/
hope this will help you.