Error Handling
摘要
Even if the code is reliable and well thought out, it is not always possible to guarantee that no errors will occur during its execution. And the reasons are often objective. For example, the user might enter an invalid value, or the program might not find the file it needs to run. In such cases, error handling is used, which is discussed in this chapter.