Annotation Interface FrameworkExceptionAdvisor


@Target(TYPE) @Retention(RUNTIME) @Order(10000) public @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
    Modifier and Type
    Field
    Description
    static final int