Mark all correct options about ResponseStatusException and @ResponseStatus.
Exception handling in Spring Boot
ResponseStatusException vs ResponseStatus
Report a typo
Choose one or more options for each row
| ResponseStatus | ResponseStatusException | |
|---|---|---|
| Requires declaring additional classes | ||
| Reduces code duplication | ||
| Allows specifying a status code for every object of this class |
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.