By contrast, runtime errors are due to events beyond the scope of the program
. They cannot be easily predicted in advance
. The header
defines several types of predefined exceptions for reporting errors in a C++ program
. These exceptions are related by inheritance
.