-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Neo
Message 4 in Discussion


 
Hi   Kash
 
There are few ways to achieve that but what I could suggest is that divide 
all the Error/Exceptions into four different categories so that you can 
implement into both Desktop Application/ WebApplication.
 
1   System Error/Exceptions
2   Database 
Error/Exceptions
3   Business Error/Exceptions
4   
External Error/Exceptions
 
Systems Error/Exceptions will include all the .NET framework 
Error/Exceptions.
 
Database Error/Exceptions will include all the sql Error/Exceptions e.g 
error while getting the connection object.
 
Business Error/Exceptions will be the user defined Error/Exceptions.
 
External Error/Exceptions are outside the scope of the application. A 
typical example would be network failure while uploading some data to the 
database server.
 

You can fix all the Error/Exceptions with a �Error/Exceptions code� and 
a corresponding �Error/Exceptions message�.
The Error/Exceptions code than 
will be assigned in such a way that when an Error/Exceptions is thrown, 
Error/Exceptions handler can identify what type of Error/Exceptions it is & 
from which module it�s thrown. In addition to this, all the identified 
Error/Exceptions can be prioritized. These can be determine how the 
Error/Exceptions will be handled. For high priority Error/Exceptions, the system 
administrator can be notified through e-mail. For Error/Exceptions which are not 
so critical, the Error/Exceptions messages can be logged into the event log on 
the clients machine. 
 

These Error/Exceptions codes and Error/Exceptions messages can be 
stored in a resource file built within the Error/Exceptions handler dll. The 
Error/Exceptions messages which can be alerted to the end user can be user 
friendly(meaningful) messages e.g  if there is a sql Error/Exceptions when 
the user tries to log on, the alert message would be �Error while logging 
on.�
 

Hope this will help you. If still any technical queries shoot back with 
a question
 
Cheers!!!!!!
Nave


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to