Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Design Question
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01054128
Message ID:
01054156
Views:
20
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform