- 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.
- Kali Linux Web Penetration Testing Cookbook
- Kubernetes實戰
- 深度學習經典案例解析:基于MATLAB
- 前端跨界開發指南:JavaScript工具庫原理解析與實戰
- Visual Basic程序開發(學習筆記)
- 編程卓越之道(卷3):軟件工程化
- jQuery EasyUI網站開發實戰
- SEO智慧
- Swift 3 New Features
- 匯編語言程序設計(第3版)
- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- PostgreSQL Replication(Second Edition)
- Elasticsearch for Hadoop
- Hands-On Natural Language Processing with Python
- 計算機應用基礎項目化教程