Java SE 13: Understanding Exception Handling in java

Java SE 13    |    Intermediate
  • 9 Videos | 58m 29s
  • Includes Assessment
  • Earns a Badge
Likes 17 Likes 17
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.

WHAT YOU WILL LEARN

  • 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

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    1m 55s
    UP NEXT
  • Playable
    2. 
    Introducing Exceptions
    7m 33s
  • Locked
    3. 
    The Catch-or-Specify Rule
    9m 48s
  • Locked
    4. 
    How Java Responds to Exceptions
    4m 52s
  • Locked
    5. 
    Built-in Exception Classes
    7m 5s
  • Locked
    6. 
    Encounters with Exceptions
    6m 6s
  • Locked
    7. 
    IO-related Exceptions
    8m 40s
  • Locked
    8. 
    Checked vs. Unchecked Exceptions
    7m 56s
  • Locked
    9. 
    Course Summary
    1m 4s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Likes 251 Likes 251