|
ms
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
List of common exceptions?Is there a list of commonly used exception types out there and what they are
intended to be used for? Thanks! Common for doing?
1. Math calculations? 2. Database access? (And which one, Sql Server, Oracle, etc?) 3. Drawing Images? 4. File System access? "Common" is based on what you might be doing. I seldom get a file system access exception, because I write data centric applications. But I'm sure there are alot of developers out there who need to be very famaliar with IO exceptions. You can investigate the System.Exception namespace at msdn to learn more about exceptions. Here is a good article on ~handling~ exceptions. http://blogs.msdn.com/kcwalina/archive/2005/03/16/396787.aspx Show quote "Smokey Grindel" <nospam@nospam.com> wrote in message news:OZPnOlrMIHA.1188@TK2MSFTNGP04.phx.gbl... > Is there a list of commonly used exception types out there and what they > are intended to be used for? Thanks! > Smokey Grindel wrote:
> Is there a list of commonly used exception types out there and what they are A lot of them can be found at > intended to be used for? Thanks! http://msdn2.microsoft.com/en-us/library/x4xzbdb9.aspx and http://msdn2.microsoft.com/en-us/library/kw9wwk34.aspx, though that doesn't go into how commonly they are used. -- Tom Porterfield Hi,
Well you have Exception that can be used for anything :) Seriously now, you can get a list of the Exceptions defined in the framework. How often you will see them depend of too many factors. I dare to say that the most common one is NullReferenceException. Other than that I have no idea Show quote "Smokey Grindel" <nospam@nospam.com> wrote in message news:OZPnOlrMIHA.1188@TK2MSFTNGP04.phx.gbl... > Is there a list of commonly used exception types out there and what they > are intended to be used for? Thanks! > Open Visual Studio (at least 2005), click on the "Debug" menu item and then
from the dropdown click on "Exceptions." This will popup a form listing all kind of exceptions neatly arranged. Show quote "Smokey Grindel" <nospam@nospam.com> wrote in message news:OZPnOlrMIHA.1188@TK2MSFTNGP04.phx.gbl... > Is there a list of commonly used exception types out there and what they > are intended to be used for? Thanks! > |
|||||||||||||||||||||||