Exception Handling in Spring Boot REST API | RestControllerAdvice, ExceptionHandler Example

Published: 06 February 2024
on channel: Java Master
436
20

In this video, we're diving into a crucial aspect of Spring Boot Web Development - Exception Handling.
Today, we'll explore the @RestControllerAdvice annotation and the @ExceptionHandler method.
We'll find out, how to handle exceptions in Spring Boot REST API
Link to Spring MVC tutorial:    • Spring MVC Thymeleaf Tutorial with CR...  

00:00 - Intro
01:28 - How to handle exceptions in the spring boot web app
03:30 - Preparing exceptions in the application
11:10 - Testing without Controller Advice
13:04 - RestControllerAdvice implementation
19:05 - Testing RestControllerAdvice functionality using Postman


On this page of the site you can watch the video online Exception Handling in Spring Boot REST API | RestControllerAdvice, ExceptionHandler Example with a duration of hours minute second in good quality, which was uploaded by the user Java Master 06 February 2024, share the link with friends and acquaintances, this video has already been watched 436 times on youtube and it was liked by 20 viewers. Enjoy your viewing!