Chapter 13. Exception handler method return types supported in Quarkus
The Quarkus extension for Spring Web API supports the following method return types:
-
org.springframework.http.ResponseEntity -
java.util.Map
Other return types mentioned in the Spring ExceptionHandler Java API documentation are not supported in Quarkus.