image
Intro to Exceptions
Intro to Exceptions
Difficulty
Beginner
Duration
30m
Students
22
Ratings
5/5
Description

In this course, we will learn the concepts of microservice and spring framework and focus on Exception Handling.

Learning Objectives

  • Exception Handling in Java 

Intended Audience

  • Beginner Java developers
  • Java developers interested in learning how to Build and Deploy RESTful Web Services
  • Java Developers who want to develop web applications using the Spring framework
  • Java Developers who want to develop web applications with microservices
  • Java Developers who wish to develop Spring Boot Microservices with Spring Cloud

Prerequisites

  • Basic Java knowledge
Transcript

Hello there, my friends. In this video, we'll talk about Java Exceptions. So, what exactly is an exception? An exception is a special type of error. It occurs during the execution of a program, i.e., at runtime that disrupts the normal flow of the program's instructions. Abnormal conditions that occur while executing the program cause exceptions. While writing the program, these conditions are not known. If you don't consider these conditions, the execution can be terminated abruptly. For example, division by zero will cause an error in a program. The Java language provides excellent exception-handling mechanisms. These mechanisms minimize the chances of a system crash or abrupt program termination. For this reason, Java is known as a robust language. Okay, I think it's clear what an exception is, but I just want you to know error and exception are often confused with each other, but in Java, they are different things. So, let's take a short break here. In our next lesson, we will talk about the difference between an error and an exception. See you in the next lesson.

 

About the Author
Students
3906
Courses
64
Learning Paths
5

OAK Academy is made up of tech experts who have been in the sector for years and years and are deeply rooted in the tech world. They specialize in critical areas like cybersecurity, coding, IT, game development, app monetization, and mobile development.