November 2014
Beginner
632 pages
19h 31m
English
CHAPTER 15
![]()
Runtime Errors and Exceptions
EXCEPTIONS are used to signal errors or unexpected conditions in a program. Using exceptions to signal errors is not mandatory, and you’ll sometimes find it more convenient to handle them in other ways. However, it is important to understand how exceptions work, because they can arise out of the use of standard language features such as the new operator and the dynamic_cast operator and exceptions are used extensively within the standard library.
In this chapter you’ll learn: