Ability to detect, intercept and gracefully manage errors. Errors can be displayed to the user or logged for later inspection.
Error Handling Philosophies
- Developers need the details: error#/text, program/method, line number, call stack, and dumps of what ever statistics are available.
- Users need the program to gracefully deal with an error. Important things: keeping the data intact, allowing the program to be restarted.
Great article on VFP Error Handling - www.stonefield.com/pub/errorh.zip
VFP Error Handling References: www.ideaxchg.com
(Also see the ErrHandler Forum for information about the free download of generic error handling classes and demo application, courtesy of Mike Asherman.)
See Try Catch, Structured Error Handling, VFPStructured Error Handling Matrix, Error Handler, Sample Error Handlers, On Error, Error Information, Development Mode, Production Mode, Sample Error Handlers, Un Trappable Errors
Category Error Handling
( Topic last updated: 2007.04.30 08:09:17 AM )