469,646 Members | 1,152 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,646 developers. It's quick & easy.

Standard for error trapping in Classes?

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?
Apr 30 '07 #1
1 1222
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.

"Elmo Watson" wrote:
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?
Apr 30 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Robert Wing | last post: by
2 posts views Thread by Steve Richfield | last post: by
13 posts views Thread by Thelma Lubkin | last post: by
3 posts views Thread by Smriti Dev | last post: by
2 posts views Thread by VB Programmer | last post: by
2 posts views Thread by Captain Nemo | last post: by
9 posts views Thread by 47computers | last post: by
9 posts views Thread by Grizlyk | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.