Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a class to pass error information
Message
From
12/03/2003 12:41:30
 
 
To
11/03/2003 13:01:59
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00764163
Message ID:
00764966
Views:
30
Hi Bob.

>If you are using VFP 8.0, you can throw an exception that the local CATCH doesn't want to handle (or if it isn't caught it will be thrown anyway.). Which will send it up the the next level CATCH.

Something I've been doing lately is storing the Exception object in a global location (eg. oApp.oException) before using THROW. That way, even something like an Error method or ON ERROR routine can work with the Exception object by first checking if oApp.oException is an object.

Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform