Swathi Prasad
1 min readJul 14, 2019

--

I would handle the exceptions with Spring’s @ControllerAdvice and @ExceptionHandler. With this, I can send the status code and error message in the response entity.

--

--

Swathi Prasad
Swathi Prasad

Written by Swathi Prasad

Software architect and developer living in Germany. Sharing my opinion and what I learn.

Responses (1)