java.lang.Object
info.ejava.examples.svc.httpapi.gestures.controllers.ExceptionAdvice

@RestControllerAdvice(basePackageClasses=GesturesController.class) public class ExceptionAdvice extends Object
This class provide custom error handling for exceptions thrown by the controller. It is one of several techniques offered by Spring and selected primarily because we retain full control over the response and response headers returned to the caller.