Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2007

Tip: Looking for answers? Try searching our database.

List of exceptions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chakravarthy - 28 Jun 2007 18:25 GMT
Where can we get a comprehensive list of all .NET exceptions with examples
of when to use each of them ?
Peter Duniho - 28 Jun 2007 18:34 GMT
> Where can we get a comprehensive list of all .NET exceptions with  
> examples of when to use each of them ?

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  
you will eventually enumerate all of the exceptions.
Chakravarthy - 07 Jul 2007 20:15 GMT
A very amateurish WIP at making such a list :-

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

>> Where can we get a comprehensive list of all .NET exceptions with
>> examples of when to use each of them ?
[quoted text clipped - 3 lines]
> classes have).  Just follow the derivation chain for each subclass, and
> you will eventually enumerate all of the exceptions.
John Saunders [MVP] - 07 Jul 2007 23:17 GMT
>A very amateurish WIP at making such a list :-
>
> http://eldora-software.com/blogs/ListofNETexceptions.htm

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?
Signature

John Saunders [MVP]

Alvin Bruney [MVP] - 08 Jul 2007 00:01 GMT
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.

Signature

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

>>A very amateurish WIP at making such a list :-
>>
[quoted text clipped - 4 lines]
> What is the source of the information? Is it something that can update
> over time?
Chakravarthy - 08 Jul 2007 09:22 GMT
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.

>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
[quoted text clipped - 8 lines]
>> What is the source of the information? Is it something that can update
>> over time?
Chakravarthy - 08 Jul 2007 09:20 GMT
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.

>>A very amateurish WIP at making such a list :-
>>
[quoted text clipped - 4 lines]
> What is the source of the information? Is it something that can update
> over time?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.