Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Handling Errors in My Business Objects
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Handling Errors in My Business Objects
Miscellaneous
Thread ID:
00461458
Message ID:
00461458
Views:
45
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.

RETURN .F.
Chris McCandless
Red Sky Software
Next
Reply
Map
View

Click here to load this message in the networking platform