Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Java Exception Handling

Java Exception Handling

1h 10mIntermediate2021-08-04

Authors

Cecili Reid

Cecili Reid

Senior Software Engineer at Netflix, Speaker

Course details

As you build any application, you can’t just assume that everything will run as expected. There are so many things that could cause your applications to not function properly or even crash. This course aims to teach developers how to handle such unforeseen scenarios in applications. Join instructor Cecili Reid as she teaches you the different types of exceptions, how to handle exceptions, and how to test an application to ensure it handles exceptions as expected. Cecili uses a sample Spring Boot web app as a case study and walks through practical scenarios where you’d want to use exception handling in that application. She starts with an initial application that doesn’t have exception handling mechanisms, and as she walks through each concept, she shows you how to improve the application by applying the concepts taught in each chapter. Cecili also shares some best practices to follow when handling exceptions in your applications.

Skills covered

JavaOracleProgramming LanguagesSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - Why bother with exception handling
  • 02 - What are throwables

1. Errors in Java

  • 03 - What are errors
  • 04 - Error - Uncaught StackOverflowError

2. Exceptions in Java

  • 05 - What are exceptions
  • 06 - Exception - IOException
  • 07 - Exception - FileNotFoundException
  • 08 - Challenge - Catch and handle two exceptions
  • 09 - Solution - Catch and handle two exceptions

3. Runtime Exceptions in Java

  • 10 - What are runtime exceptions
  • 11 - Runtime exception - Return NumberFormatException to user
  • 12 - Challenge - Handle an ArithmeticException
  • 13 - Solution - Handle an ArithmeticException
  • 14 - Runtime exception - Handling of NullPointerException
  • 15 - Runtime exception - Unknown runtime exception
  • 16 - Challenge - Handle potential runtime exceptions
  • 17 - Solution - Handle potential runtime exceptions

Conclusion

  • 18 - Next steps with exception handling

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal