|
-
Jul 22nd, 2005, 11:23 AM
#1
Thread Starter
New Member
raising error from class module to be caught in regular (bas) module
I ran into this while working on http://www.vbforums.com/showthread.php?t=350844. Basically, I was making a call to a pulic function in my class module from a regualr module (bas) who's job is to check for the presense of an error in a class local variable and raise a VB error if there is one. The class mod function does not have an error handler as the point is to have VB bubble the error upto the calling function to be trapped in it's error handing.
I just thought this was an interesting point (to me anyhow) as my observations means one of the following is true:
a) VB error messages cannot be moved up the call stack across modules
b) VB error messages cannot be moved up the call stack between class and regular modules
c) a and b
I'm suspecting b, but am curious as you you're observations.
Eric
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|