Quiz

1

(Select all that apply.) Why do we use ControllerAdvice for the exceptions?

A)

It gives us full control over the body of the response as well as the status code.

B)

It provides the mapping of several exceptions to the same method, to be handled together.

C)

It makes good use of the newer RESTful ResposeEntity response.

Question 1 of 50 attempted

Get hands-on with 1400+ tech skills courses.