- 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.
- C++程序設計教程
- DB2 V9權威指南
- Building a RESTful Web Service with Spring
- 架構不再難(全5冊)
- Windows系統管理與服務配置
- Vue.js 3.x從入門到精通(視頻教學版)
- ADI DSP應用技術集錦
- FLL+WRO樂高機器人競賽教程:機械、巡線與PID
- BIM概論及Revit精講
- Java EE 8 Application Development
- Integrating Facebook iOS SDK with Your Application
- SwiftUI極簡開發
- Design Patterns and Best Practices in Java
- Visual Basic 開發從入門到精通
- CorelDRAW X6中文版應用教程(第二版)