473,386 Members | 1,943 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Error - codes

vsr
Is there any place where i can find the list of errors usually we get in
..NET, i want to categeorize the errors into different groups, does any one
have any inputs on categeorizing the errors in .net?

Dec 27 '05 #1
3 1145
Every error is a type of Exception, so it inherits from Exception down the
line. You can look at the documentation for all classes that inherit from
Exception, and all classes that inherit from those classes, etc. In a way,
this subclassing is what categorizes the exceptions into different types.

"vsr" <vs*@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
Is there any place where i can find the list of errors usually we get in
.NET, i want to categeorize the errors into different groups, does any one
have any inputs on categeorizing the errors in .net?

Dec 27 '05 #2
..NET does not use codes to identify it's exceptions like VB 6.0 did. In
..NET, everything you encounter is a "type", including exceptions. There are
many different "types" of exceptions and they have already been
"categorized" by inheritance and namespaces, so there's no need for you to
do it.

Just take a look at the Exception class documentation.
"vsr" <vs*@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
Is there any place where i can find the list of errors usually we get in
.NET, i want to categeorize the errors into different groups, does any one
have any inputs on categeorizing the errors in .net?

Dec 27 '05 #3
Thanks all for the info , thats what i was looking . i was looking for the
list of types to categeorize.thats true .NET categeorized all the exceptuions
but here i am building the escalation system based on the types of errors /
exceptions we get from application.i am sorry i might have used wrong
terminology as "error" & "codes" but actually i was looking for the list of
all possible exceptions and i got it from MSDN.thanks lot again for your
guidance.

"Scott M." wrote:
..NET does not use codes to identify it's exceptions like VB 6.0 did. In
..NET, everything you encounter is a "type", including exceptions. There are
many different "types" of exceptions and they have already been
"categorized" by inheritance and namespaces, so there's no need for you to
do it.

Just take a look at the Exception class documentation.
"vsr" <vs*@discussions.microsoft.com> wrote in message
news:53**********************************@microsof t.com...
Is there any place where i can find the list of errors usually we get in
.NET, i want to categeorize the errors into different groups, does any one
have any inputs on categeorizing the errors in .net?


Dec 29 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Shane Groff | last post by:
I know this is a recurring discussion (I've spent the last 3 days reading through threads on the topic), but I feel compelled to start it up again. After reading through the existing threads, I...
2
by: Gregory | last post by:
Hi, One of the disadvantages of using error handling with error codes instead of exception handling is that error codes retuned from a function can be forgotten to check thus leading to...
2
by: MLH | last post by:
I cut a mail function off the m'soft site. Has always worked. However, I would like to include error codes returned by the sendmail Fn and be able to understand what they mean. I had my first...
7
by: Spacen Jasset | last post by:
The main two desirable things I feel error handling should provide are these: 1) Debugging and diagnostic aid 2) User feedback One method that is used a fair amount it to 'say' that all...
0
by: HKSHK | last post by:
This list compares the error codes used in VB.NET 2003 with those used in VB6. Error Codes: ============ 3: This Error number is obsolete and no longer used. (Formerly: Return without GoSub)...
8
by: PW | last post by:
Hi, There is code in Alison Balter's excellant "Mastering Access 2003" to create a list of error codes and descriptions but it only generates error messages 3 through 94. Is there a website...
13
by: mike3 | last post by:
Hi. (crossposted because the program is in C++ and some C++-related elements are discussed, hence comp.lang.c++, plus general program design questions are asked, hence comp.programming.) I'm...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
5
by: =?GB2312?B?17/HvyBaaHVvLCBRaWFuZw==?= | last post by:
Hi, I would like to have someone comments on what's the best practice defining error codes in C. Here's what I think: solution A: using enum pros: type safe. better for debug (some debugger...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.