- The Java Workshop
- David Cuartielles Andreas G?ransson Eric Foster Johnson
- 136字
- 2021-06-11 13:05:25
5. Exceptions
Overview
This chapter discusses how exceptions are dealt with in Java. You will first learn how to identify the situations that produce exceptions in your code. This knowledge will simplify the process of handling these exceptions by alerting you to those circumstances in which they are most likely to arise. In this endeavor, this chapter also provides a list of best practices guiding you through common scenarios and the best methods of either catching exceptions or throwing them to the calling class, logging their details as you go. You will further learn to differentiate between different types of exceptions, and practice the techniques for handling each. By the end of the chapter, you will even be able to create your own exception class, capable of logging each type of exception in order of severity.
- GAE編程指南
- 在最好的年紀學Python:小學生趣味編程
- Web交互界面設計與制作(微課版)
- C語言課程設計
- Hands-On Functional Programming with TypeScript
- 大數據分析與應用實戰:統計機器學習之數據導向編程
- Web App Testing Using Knockout.JS
- SignalR:Real-time Application Development(Second Edition)
- DevOps 精要:業務視角
- 零基礎學編程系列(全5冊)
- Flask開發Web搜索引擎入門與實戰
- Learning Redux
- Mastering Node.js
- ACE技術內幕:深入解析ACE架構設計與實現原理
- 區塊鏈技術與智能服務應用