Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Java Exception Handling

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
This course teaches developers how to deal with unexpected behavior that may occur during the execution of their applications.

Syllabus

Introduction
  • Why bother with exception handling?
  • What are throwables?
1. Errors in Java
  • What are errors?
  • Error: Uncaught StackOverflowError
2. Exceptions in Java
  • What are exceptions?
  • Exception: IOException
  • Exception: FileNotFoundException
  • Challenge: Catch and handle two exceptions
  • Solution: Catch and handle two exceptions
3. Runtime Exceptions in Java
  • What are runtime exceptions?
  • Runtime exception: Return NumberFormatException to user
  • Challenge: Handle an ArithmeticException
  • Solution: Handle an ArithmeticException
  • Runtime exception: Handling of NullPointerException
  • Runtime exception: Unknown runtime exception
  • Challenge: Handle potential runtime exceptions
  • Solution: Handle potential runtime exceptions
Conclusion
  • Next steps with exception handling

Taught by

Cecili Reid

Reviews

4.7 rating at LinkedIn Learning based on 270 ratings

Start your review of Java Exception Handling

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.