Standard for error trapping in Classes?

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?
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,108
Latest member
AlbertEste
Top