SourcePro : Essential Tools Module User's Guide : Error Handling and Reporting
Error Handling and Reporting
Introduction
The Essential Tools Module uses the same extensive error handling facility and also offers a complete framework for reporting errors through exceptions. This chapter presents the Essential Tools Module’s error model and its error reporting classes, and includes suggestions on how to implement them.
The Essential Tools Module error model explained in Error Categories divides errors into two broad categories: internal and external.
The Essential Tools Module error-reporting classes explained in Error Reporting and Error Handling create a framework for reporting errors through exceptions, and for reporting errors in environments in which exceptions are not enabled.
This chapter discusses
*Error Categories
*Error Reporting and Error Handling