Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handling Errors in My Business Objects
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00461458
Message ID:
00461499
Vues:
19
Chris,

>How should I have my business objects handle error with Mere Mortals. For example, I have a business object that use wwFTP from West Wind to download a file from an FTP server. If oFtp.FTPGetFile() does not work, how should I handle it? Should I get the error (oFtp.cErrorMsg), then:>

>THIS.AddError( oFtp.cErrorMsg )
>THIS.lError = .F.

Sounds like you're on track...did you mean to set "This.lError = .F."?

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform