Interface ExceptionResolver


public interface ExceptionResolver

Turns an exception a controller threw into a response.

The build writes one for each controller with @ExceptionHandler methods and for each @ControllerAdvice bean; an application rarely implements it directly, but may, and register it as a bean like an advice.

  • Method Details