Exception List

  • Thread starter Thread starter ramhog
  • Start date Start date
R

ramhog

I see exceptions in lots of different namespaces. Is there a complete
list somewhere of all the exceptions from all the different
namespaces?

Thanks.
 
If you go into the MSDN, just look for System.Exception and then look at all
derived classes and classes derived from those. It's in the docs. You can
also go into the Debug/Exceptions menu item and see them by namespace.
 
Hi,

ramhog said:
I see exceptions in lots of different namespaces. Is there a complete
list somewhere of all the exceptions from all the different
namespaces?

Remember that you can extend Exception so you might find a list of all the
exceptions providfed by the framework but not all the exceptions your code
might find.

You can drill down the exceptions provided by the framework from
http://msdn2.microsoft.com/en-us/library/aa328368(VS.71).aspx
 
ramhog said:
I see exceptions in lots of different namespaces. Is there a complete
list somewhere of all the exceptions from all the different
namespaces?

Using .NET Reflector, locate the System.Exception type and use the Analyzer
to find all derived types. It will give you a comprehensive list of all
exception types defined in assemblies you have open.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top