Spring REST API Exception Handling | @ControllerAdvice | @ExceptionHandler [INTERVIEW 2019]

preview_player
Показать описание
This video shows how we can provide a custom response for our spring API when a controller throws an exception.

Support the free tutorials I provide by making a donation:

Looking to master algorithms to crack a coding interview? Check this out:

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

Here we have 1 microservice for which we wrote ControlAdvice class. What if we have 10 microservice. we can;t create ControlAdvice class for all the annotation. SO. what would be our approach then

puneetsaneja
Автор

Could you please look into audio. It is not quite clear.

aijaz