Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Design Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01054128
Message ID:
01054156
Vues:
21
>If I create a class, and method A calls method B, which calls C which calls D,
>and an error occurs in D, either syntactically or otherwise, I would like to be
>able to recover to a usefull state.
>
>I generally use a properties called .bErrorOccured and .sErrmsg to indicate
>the error.
>
>But where do you go from there?

Use try catch in the method A.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform