On Friday, August 31, 2001, at 05:01 PM, Ruslan Zasukhin wrote: [snip] >> > Hi Charles, > > if you set debug level 2, you will see that BEFORE you call constructor > of > VException you do call > > c = nil > > i.e destructor of Cursor, and last CLEAR db.err of course. > > I think you need to change a little API VException. > Send to it not db ref, but Err, and optional error string. >
Ah, I see the problem. Thanks again. I now have a much better general scheme for handling and logging exceptions in RB, which will eliminate this problem.
Charles Yeomans ©2001 Charles Yeomans |