O'Reilly logo

The Java® Tutorial: A Short Course on the Basics, Fifth Edition by Raymond Gallardo, Sowmya Kannan, Sharon Biocca Zakhour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9. Exceptions

The Java programming language uses exceptions to handle errors and other exceptional events. This chapter describes when and how to use exceptions.

The first section defines an exception. An exception is an event that occurs during the execution of a program that disrupts the normal flow of instructions. The second section discusses the catch or specify requirement and describes the three kinds of exceptions. The third section covers how ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required