all groups > dotnet framework > june 2007 >
You're in the

dotnet framework

group:

List of exceptions


Re: List of exceptions Peter Duniho
6/28/2007 10:34:44 AM
dotnet framework:
On Thu, 28 Jun 2007 10:25:58 -0700, Chakravarthy
[quoted text, click to view]

You can start with the documentation for System.Exception, which provides
a link to a list of derived classes (as all main pages for the .NET
classes have). Just follow the derivation chain for each subclass, and
List of exceptions Chakravarthy
6/28/2007 10:55:58 PM
Where can we get a comprehensive list of all .NET exceptions with examples
of when to use each of them ?


Re: List of exceptions John Saunders [MVP]
7/7/2007 6:17:32 PM
[quoted text, click to view]

This isn't amateurish at all! This is a great start.

What is the source of the information? Is it something that can update over
time?
--
John Saunders [MVP]
Re: List of exceptions Alvin Bruney [MVP]
7/7/2007 7:01:38 PM
I see so much value in that, it just aint funny. Maybe it should be in the
form of a wiki so that it can be updated by others - think spread the work
around.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
https://www.microsoft.com/MSPress/books/10933.aspx
OWC Black Book www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley


[quoted text, click to view]

Re: List of exceptions Chakravarthy
7/8/2007 12:00:00 AM
Thanks. I just opened Object explorer in VS 2005 and just searched for all
items which had 'exception' and then took only those which ended with the
keyword exception , which is a practise that MS follows i think. I only
took those items which had a plus sign , which probably indicated they were
inherited from some base exception. I ignored other items.




[quoted text, click to view]

Re: List of exceptions Chakravarthy
7/8/2007 12:00:00 AM
Yes there is a lot of refinement and inputs which can help us have a
comprehensive and context sensitive set of exceptions .That way when FxCop
complains about using SystemException, we can think of the right set
instead.




[quoted text, click to view]

Re: List of exceptions Chakravarthy
7/8/2007 12:45:34 AM
A very amateurish WIP at making such a list :-

http://eldora-software.com/blogs/ListofNETexceptions.htm





[quoted text, click to view]

AddThis Social Bookmark Button