GCast 91:

Throwing and Catching Custom Exceptions in a Java Spring Boot Application

This video shows how to respond appropriately to errors in a Spring Boot application by creating and throwing custom exceptions when appropriate; then, handling them in the controller and returning an appropriate HTTP response to the client.

Source code: https://github.com/DavidGiard/java-spring-boot-demo/releases/tag/GCast91