|
Adding New Error Messages |
|
List of: |
Discussion Topic |
|
Subjects: |
|
|
Contents: |
|
|
|
|
|||||||||||||
|
Follow these steps to add new error messages: |
|||||||||||||
|
|
|||||||||||||
|
|
1. |
Add the message to the <modname>.msg file for the module. Each line of this file consists of the mnemonic name of the message in capital letters, followed by the text of the message enclosed in quotes. |
|||||||||||
|
|
|
||||||||||||
|
|
2. |
Run the build tool against the <modname>.msg file to create a <modname>.err and an e<modname>.cxx file. |
|||||||||||
|
|
|
||||||||||||
|
|
3. |
Insert sys_error, sys_warning, and other macro and function calls into appropriate places in the code to handle error conditions. |
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PDF/APPDEV/06ERR.PDF
HTM/DATA/ACIS/APPDEV/06ERR/0010.HTM