Exceptions and Advanced File I/O Chapter 12. 12-2 Handling Exceptions An exception is an object that is generated as the result of an error or an unexpected.