Information générale
Catégorie:
Test et débogage
Versions des environnements
Network:
Windows 2003 Server
Exception.StackTrace will tell you where the error occured.
You can write a common error logger.
As far as common error handling code, it depends on the error(custom exception /validation rule vs application exception)and on where you want to do the error catching and logging.
In asp.net you can do it on Application_OnError as a generic error handling.
Vlad
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement