Java SE 13: Understanding Exception Handling in java

Java    |    Intermediate
  • 9 videos | 54m 59s
  • Includes Assessment
  • Earns a Badge
Rating 4.4 of 33 users Rating 4.4 of 33 users (33)
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

  • 1m 55s
  • 7m 33s
    In this video, you will define an exception and recognize how it disrupts program execution. FREE ACCESS
  • Locked
    3.  The Catch-or-Specify Rule
    9m 48s
    Upon completion of this video, you will be able to describe and implement the catch or specify restriction. FREE ACCESS
  • Locked
    4.  How Java Responds to Exceptions
    4m 52s
    Upon completion of this video, you will be able to recognize how the JRE searches for an exception handler for an exception. FREE ACCESS
  • Locked
    5.  Built-in Exception Classes
    7m 5s
    In this video, you will list the important built-in exception classes in Java. FREE ACCESS
  • Locked
    6.  Encounters with Exceptions
    6m 6s
    After completing this video, you will be able to recognize how exceptions such as NullPointerException, NumberFormatException, and IndexOutOfBoundsException occur in code. FREE ACCESS
  • Locked
    7.  IO-related Exceptions
    8m 40s
    In this video, find out how to identify differences between IO-related exceptions and other exceptions you may come across. FREE ACCESS
  • Locked
    8.  Checked vs. Unchecked Exceptions
    7m 56s
    In this video, you will list the differences between checked exceptions, runtime exceptions, and errors. FREE ACCESS
  • 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 on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.6 of 148 users Rating 4.6 of 148 users (148)
Rating 4.4 of 61 users Rating 4.4 of 61 users (61)
Rating 4.5 of 18 users Rating 4.5 of 18 users (18)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.1 of 43 users Rating 4.1 of 43 users (43)
Rating 4.7 of 100 users Rating 4.7 of 100 users (100)
Rating 4.4 of 2528 users Rating 4.4 of 2528 users (2528)