The ProblemDetailsExceptionHandler in Spring Boot is an empty class extending ResponseEntityExceptionHandler and annotated with @ControllerAdvice. It has no explicitly defined behavior, and source code is as below
@ControllerAdvice
class ProblemDetailsExceptionHandler extends ResponseEntityExceptionHandler {
}
So I am just curious what purpose does it serve, since ResponseEntityExceptionHandler is already available.