Exceptions

In this lesson, you will learn about error handling within Java.

Welcome to our free Java tutorial. This tutorial is based on Webucator's Introduction to Java Training course.

Contact Us or call 1-877-932-8228
Lesson Goals
  • Learn about the exception handling mechanism in Java.
  • Write try ... catch structures to catch expected exceptions.
  • Distinguish runtime exception classes from other exception classes.
  • Learn how to use finally blocks to guarantee execution of code.
  • Learn about thrown exceptions.
  • Define custom exception classes.
  • Learn about initializer blocks.