Handling Errors: An Introduction to Exceptions
Java
| Beginner
- 7 videos | 53m 36s
- Includes Assessment
- Earns a Badge
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 courseIdentify the different categories of exceptions in java and how to deal with themOutline the hierarchy of exception classes in java and recall specific exception typesRecognize 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 developerList examples of checked exceptions in java and contrast these with unchecked exceptionsSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 9sIn 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 the context of Java from a conceptual point of view. You’ll then learn how these are implemented in the language. You get some hands-on programming experience and learn about compile-time errors and how they’re different from exceptions. FREE ACCESS
-
12m 3sIn 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 may be coded to run in a specific manner, but when an exception occurs, the normal flow is effectively interrupted and an exception is thrown. Here, you’ll look at different categories of exceptions in Java. FREE ACCESS
-
5m 51sIn 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 have a chain of methods, each one calling another. In this scenario, it may not always be clear where exactly an exception has been thrown. FREE ACCESS
-
8m 14sIn 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 explicitly handled. You’ll begin by exploring some compile-time errors and move on to exceptions. In these demos, you’ll use the IntelliJ IDE to write code. FREE ACCESS
-
11m 39sIn 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 even before you perform a build of the program. However, there are others that will only occur during runtime, and you can only identify them through experience or by executing the program during the development and testing phases. FREE ACCESS
-
12m 1sIn 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. Onscreen, you’ll see you need to paste in some new code and import the java.io.FileReader class. You’ll then try to read a file that is present on your file system. FREE ACCESS
-
1m 40sIn 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 context of Java from a conceptual point of view and learned how these are implemented in the language. You gained hands-on programming experience and covered what compile time errors are and how these are different from exceptions. 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.