Image

9Handling Exceptions

CERTIFICATION OBJECTIVES

•        Understand the Rationale and Types of Exceptions

•        Understand the Nature of Exceptions

•        Alter the Program Flow

•        Recognize Common Exceptions

image       Two-Minute Drill

Q&A    Self Test

 

“Throw and catch.” Once that phrase makes sense to you, you’ll know that you understand exception handling in Java. Throughout this chapter, we will explore the primary focus of exception handling in Java by throwing exceptions and handling them where appropriate. We’ll discuss the different ...

Get OCA Java SE 8 Programmer I Study Guide (Exam 1Z0-808), 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.