Handling Errors: An Introduction to Exceptions

Java JDK 9+    |    Beginner
  • 7 videos | 53m 36s
  • Includes Assessment
  • Earns a Badge
Likes 22 Likes 22
Developers need to be aware of the concept of exceptions in the context of Java and how they are implemented in the language so that they can handle it efficiently. Use this course to familiarize yourself with Java exceptions from both a theoretical and practical standpoint. Delve into the two major categories of Java exceptions - checked exceptions that can be identified at the compile stage and unchecked exceptions which occur while the program is running. Next, you'll be able to try your hand at some hands-on programming and discover how to work with compile-time errors and distinguish them from exceptions. After finishing this course, you'll be in a position to recognize the purpose and categories of Java exceptions and how to tackle them.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    identify the different categories of exceptions in Java and how to deal with them
    outline the hierarchy of Exception classes in Java and recall specific exception types
    recognize compile errors in Java and distinguish these from exceptions
  • define unchecked exceptions in the context of Java and how these can be acknowledged or handled by a developer
    list examples of checked exceptions in Java and contrast these with unchecked exceptions
    summarize the key concepts covered in this course

IN THIS COURSE

  • Playable
    1.  Course Overview
    2m 9s
    In this video, you’ll learn more about your instructor and this course. In this course, you’ll learn the concept of Java exceptions from both a theoretical and practical standpoint. You’ll look at what an exception is in… FREE ACCESS
  • Playable
    2.  Exceptions in Java
    12m 3s
    In this video, you’ll learn more about exceptions in Java. In Java, an exception is an event that occurs sometimes when the program is running and has the effect of disrupting the regular flow of the program. A program… FREE ACCESS
  • Locked
    3.  The Java Exception Stack
    5m 51s
    In this video, you’ll learn more about some of the more specific mechanics around exceptions and how this can help identify the source of the exception itself. You’ll take a look at a somewhat complex scenario where you… FREE ACCESS
  • Locked
    4.  Identifying Compile Errors in Java
    8m 14s
    In this video, you’ll learn more about working with exceptions in Java. You’ll learn it’s important to draw the line between compile time errors and exceptions that can be caught by the compiler and which must be… FREE ACCESS
  • Locked
    5.  Defining Unchecked Exceptions in Java
    11m 39s
    In this video, you’ll learn more about exceptions in Java. Exceptions are issues that can occur during a program's execution, that interrupt its normal flow. Some of these exceptions can be identified by the compiler… FREE ACCESS
  • Locked
    6.  Working with Checked Exceptions in Java
    12m 1s
    In this video, you’ll learn more about checked exceptions through a demo. These are exception tags that are detected by the compiler. You won’t be able to build your application without addressing those exceptions first.… FREE ACCESS
  • Locked
    7.  Course Summary
    1m 40s
    In this video, you’ll summarize what you’ve learned in this course. In this class, you’ve learned the concept of Java exceptions from a theoretical and practical standpoint. You looked at what an exception is in the… FREE ACCESS

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.