Exceptions
The Java programming language uses exceptions to handle errors and other exceptional events. This tutorial describes when and how to use exceptions.
-
What Is an Exception?
Introducing what exceptions are.
-
Catching and Handling Exceptions
How to use try, catch and finally.
-
Throwing Exceptions
How to throw exceptions in your programs.
-
Unchecked Exceptions — The Controversy
When to Use Checked or Unchecked Exceptions