Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a class to pass error information
Message
De
12/03/2003 12:41:30
 
 
À
11/03/2003 13:01:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00764163
Message ID:
00764966
Vues:
29
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform