Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:28 pm
by Marcelle Goslin >> Sun, 23 Nov 2003 7:18:12 GMT
Hi Kevin
Yes, hence my post.
I guess I'm being hopeful that someone had come up with a technique for defining a class level exception handler without going global.
I have a class for creating/merging word documents and optionally converting them to PDF. I want to totally encapsulate all error handling as well, and only pass back control to the global exception handler for errors I don't want to control.
As the class has quite a few methods, I was hoping I could arm an exception handler in the class constructor (or something similar) and disarm it in the destructor.
Perhaps a peer schema would be the way to go, but as yet I haven't managed to find any doco on how to set them up. (Still looking, but probably in the wrong place...)
Regards
Marcelle Goslin