Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

list of exceptions [closed]

Tags:

I am looking for a list of possible exceptions in c#, c++, vb.net, j# and jscript. The problem is that some sites show me a list of 20 exceptions whereas some other site shows me a list of 39 exceptions. Can anyone please give me a proper information on this?

like image 707
Pavani gaddam Avatar asked Jul 07 '12 16:07

Pavani gaddam


People also ask

What are the closed syllable exceptions?

There are five exceptions to the closed syllables. Students will learn them as glued sounds – old, ild, ind, old, ost.

What are the 3 types of exceptions?

There are three types of exception—the checked exception, the error and the runtime exception.


2 Answers

If you're looking for a list of exceptions that the .Net framework can throw, this article has a bunch of them. I don't know where you're pulling those specific numbers from and I don't know what you hope to accomplish by knowing all of the exceptions (including ones you'll likely never see).

like image 154
48klocs Avatar answered Sep 23 '22 14:09

48klocs


There are loads of exceptions declared by the .NET framework - and other code (including your own) can create more. There are certainly more than 39.... look at the documentation for System.Exception and you'll see near the bottom a list of all the direct known subclasses just in the .NET framework.

Basically, it's not useful to know "all the exceptions" - what's important is which exceptions can be thrown by code you are executing, and in particular which exceptions you should really try to handle (rather than those which should either kill the process or just make the request fail in a server environment).

like image 34
Jon Skeet Avatar answered Sep 22 '22 14:09

Jon Skeet