Appendix C: Error Handling
Both the debug and release versions of inventor provide basic error handling mechanisms. As shown in the C-1, three classes are derived from the base class soerror. It may occur when reading an inventor file.ReadError. If the application is running without memory resourcesMemory AccessError.DebuggingAn error is generated by a programming error. Most debugging errors are generated only in the debugging version of inventor. The release version is not checked. A correctly running application does not produce any debugging errors. In the early stages of development, it is a good idea to use the debugging version of inventor to ensure that our program runs correctly. Then, when no error occurs, we can switch the program to the release version.
For the complete translation of this chapter, please download the following link:
The inventor mentorOriginal English version. Download
The inventor mentorChinese translation. Download
The inventor mentorSample Code. Download