Java SE 13: Understanding Exception Handling in java


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

This course explores Exception Handling in Java and provides users with a strong conceptual and theoretical foundation and examines practical code-based scenarios. Begin by examining what exceptions are in Java and how Java’s class hierarchy addresses errors, runtime exceptions, and checked exceptions. An exception is an event that disrupts the normal flow when executing a program, and you will learn here how to differentiate between exceptions and errors. Participants will learn to use Java's catch-or-specify requirement on code that throws specific types of exceptions. You will also learn that an exception handler is code which deals with a particular exception, both its type and location, in the program. Next, learn the sequence of method calls or function calls which culminated in the exception being thrown. The course will then explore the common runtime exceptions, and see how input-output (IO)-related code often poses special challenges in exception handling. Finally, you will be shown how exception handling is tied to the try-catch keywords.



Expected Duration (hours)
0.9

Lesson Objectives

Java SE 13: Understanding Exception Handling in java

  • discover the key concepts covered in this course
  • define an exception and recognize how it disrupts program execution
  • describe and implement the catch-or-specify restriction
  • recognize how the JRE searches for an exception handler for an exception
  • enumerate the important built-in exception classes in Java
  • recognize how exceptions such as NullPointerException, NumberFormatException, and IndexOutOfBoundsException occur in code
  • identify differences between IO-related exceptions and other commonly encountered exceptions
  • enumerate differences between checked exceptions, runtime exceptions, and errors
  • summarize the key concepts covered in this course
  • Course Number:
    it_jdcojdj_05_enus

    Expertise Level
    Intermediate