Exception Handler with Spring Boot | Spring Boot Backend #7

preview_player
Показать описание
In this video I show how to create an Exception Handler with Spring Boot, creating an aspect and a custom exception in Java.

In this video, I will handle:
* the Exception Handler of Spring Boot;
* what's an aspect, what's the AOP, the aspect oriented programming with Spring Boot;
* how to create a custom exception in Java;
* how to modify the HTTP code of the response.

Рекомендации по теме
Комментарии
Автор

thanks for the usefull video.
If we have a lot of custom exceptions (not only AppException), do we have to add all of them to the RestExceptionHandler (ControllerAdvise)?

bohdankalika
Автор

Nice content. If you could add some content related to API versioning and how we can manage in Spring Boot.

upendraroul
Автор

Hi Sergio, can you share the code of the errordto somewhere ? Thanks for your video, very usefull

brunoeloi
join shbcf.ru