Expert Section: Error Handling
Keith Lee · Apress eBooks · 2013
How your code deals with errors is critical to implementing quality software. Runtime errors that impact the operation and/or performance of a program can be due to a variety of causes, such as incorrect user input, system issues, or programming errors. The Foundation Framework includes several APIs for handling runtime error conditions. In this Expert Section chapter, you will examine these APIs in depth. The chapter explores the causes of runtime errors, the programming options for error handling, and the Foundation Framework APIs for handling errors and exception conditions. After completing this chapter, you will be able to use the Foundation Framework error handling and exception processing APIs to write programs that respond properly to errors as they arise, and even provide support for error recovery. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.