Chapter 13. Exception handler method return types supported in Quarkus

The following method return types are supported when using Spring Web in Quarkus:

  • org.springframework.http.ResponseEntity
  • java.util.Map

Other return types mentioned in the Spring ExceptionHandler Java API documentation are not supported in Quarkus.