Chapter 9 Error Handling and Debugging
9.1 Overview
The Internationalization Module employs a convenient, C++ style, exception-based mechanism for responding to error conditions. Most classes in the Internationalization Module throw exceptions of type RWUException, which derives from the RWxmsg class in the Essential Tools Module. The Internationalization Module also provides the global enumeration RWUStatusCode whose values identify particular errors and warnings.
To further help you to uncover and correct internal errors in your code, the Internationalization Module takes advantage of the Execution Tracing Package in the Threads Module of SourcePro Core. This package contains macros that emit trace events for producing a record of program execution. You can also build the Internationalization Module in debug mode.
This chapter describes how to:
*handle exceptions thrown by the Internationalization Module
*enable the enable trace macros to produce a record of program execution
*compile the Internationalization Module in debug mode