Chapter 9

Exception Handling

image

Key Skills & Concepts

image Know the exception hierarchy

image Use try and catch

image Understand the effects of an uncaught exception

image Use multiple catch statements

Catch subclass exceptions

Nest try blocks

Throw an exception

Know ...

Get Java: A Beginner's Guide, Ninth Edition, 9th 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.