4.5: Exceptions
When things go wrong in programming, as they usually do, the last thing you want is for the program to crash or perform some erroneous actions. Using exception handling allows the programmer to control what happens when the unexpected happens. Read this article, which provides a simple explanation of exceptions.