Previous fileTop of DocumentContentsIndex pageNext file
Apache C++ Standard Library User's Guide

18.1 Overview

The C++ Standard Library provides a set of classes for reporting errors. These classes use the exception handling facility of the language. The library implements a particular error model, which divides errors in two broad categories: logic errors and runtime errors.

Logic errors are errors caused by problems in the internal logic of the program. They are generally preventable.

Runtime errors, on the other hand, are generally not preventable, or at least not predictable. These are errors generated by circumstances outside the control of the program, such as peripheral hardware faults.

18.1.1 Include Files

Programs that use the exception handling classes must include the following header file:

Previous fileTop of DocumentContentsIndex pageNext file