Standard for error trapping in Classes?

  • Thread starter Thread starter Elmo Watson
  • Start date Start date
E

Elmo Watson

Up until now, I've done all the work (gui/front end programming, classes,
etc)
I've done all my error trapping (try/catch) in the methods in the code
behind.

Now I've got an opportunity to do programming that is all class type
programming.

I've never created events of any type

What is the standard for error trapping within classes?
 
Personally, I use Microsoft Enterprise Library Handling and Logging blocks to
do this. I configure my apps to write event logs detailing any exceptions
which occur in each method.
 
Back
Top