Chapter 7. Exception handling

Exam objectives covered in this chapter

What you need to know

[8.3] Describe the advantages of Exception handling. The need for and advantages of exception handlers.
[8.1] Differentiate among checked exceptions, unchecked exceptions, and Errors. Differences and similarities between checked exceptions, RuntimeExceptions, and Errors. Differences and similarities in the way these exceptions and errors are handled in code.
[8.2] Create a try-catch block and determine how exceptions alter normal program flow. How to create a try-catch-finally block. Understand the flow of code when the enclosed code throws an exception or error. How to create nested try-catch-finally blocks.
[8.4] Create and invoke ...

Get OCA Java SE 8 Programmer I Certification Guide 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.