Annotation Interface FrameworkExceptionAdvisor
Annotation used to apply a consistent
Order to framework exception advisors. This is
expected to be used in conjunction with ControllerAdvice or RestControllerAdvice.
Here is how this would be used to create a new exception advisor:
@Slf4j
@FrameworkExceptionAdvisor
@RestControllerAdvice(annotations = ResponseBody.class)
public class MyFrameworkExceptionAdvisor {
// add @ExceptionHandler definitions here
}
- Author:
- Nick Crum (ncrum)
-
Field Summary
Fields
-
Field Details
-
ORDER
static final int ORDER- See Also:
-