Course info
Feb 4, 2021
1h 40m
Your 10-day individual free trial includes:

Expert-led courses

Keep up with the pace of change with thousands of expert-led, in-depth courses.

Developers want to write software and build programs that do awesome things. But things rarely go smoothly. Unexpected errors and issues occur all the time, and so making our software resilient is indispensable. Exception handling is a fundamental mechanism to achieve this. In this course, Exception Handling in Java (Java SE 11 Developer Certification 1Z0-819), you will earn the tips, tricks, and pitfalls of exception handling in Java. First, you will revise the basic syntax of try/catch/finally blocks, including chaining catch blocks as well as multi-catch blocks. Then, you will learn and practice the ins and outs of try-with-resources mechanism, introduced in Java 7. Then, you will revise the exception class hierarchy, as well as the most frequent checked and unchecked exceptions that you are likely to encounter on the exam, as well as their relationships. Finally, you will see that throwing exceptions has certain rules that must be satisfied for the application to work. When you're finished with this course, you’ll have the skills and knowledge of exception handling to nail any exam question related to the topic.

About the author
About the author

Andrejs is a Quality Assurance professional and participates in the entire SDLC - from requirements analysis, to test creation and their automation.

More from the author
Automated Web Testing in Java with Playwright
3h 21m
Sep 29, 2021
More courses by Andrejs Doronins
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi, everyone. My name is Andrejs Doronins, and welcome to the course, Exception Handling in Java for Developer Certification. Robust software means software that faces and handles exceptions effectively and gracefully. This is why this topic is part of the certification exam. However, the rules surrounding exception handling are tricky and require a solid grasp on all of the fundamentals. This course will teach you the tips, tricks, and pitfalls of exception handling in Java. Some of the major topics that we will cover include the rules that surround try/catch and try‑with‑resources blocks, exception types and the exception class hierarchy, and throwing inbuilt and custom exceptions. Before beginning this course, you should have at least 1 year of experience of working with Java, as well as a solid grasp on the fundamentals of the language. Ideally, you have some experience with an IDE such as IntelliJ or Eclipse. I hope you'll join me on this journey to learn in‑depth exception handling rules with the course, Exception Handling in Java for Developers Certification here, at Pluralsight.