|
|
Title | Display a nice graphical error form when the program catches an error |
Keywords | error handling, bug proofing, error report, error log |
Categories | Software Engineering |
|
|
Thanks to Deepesh Agarwal.
This example demonstrates some fancy error handling techniques. When it catches an error it:
- Displays a nice graphical error form.
- Creates or opens an error log in the application directory and appends the new error information. This information includes system information such as drive statuses, the processes currently running, and environment variables.
- On NT-based systems, it adds the error to system event log.
- Can send an error report email to developers.
See the code for details.
|
|
|
|
|
|