## 类的使用
org.springframework.aop.framework.AopConfigException

- 使用AopConfigException的程序包
  程序包 | 说明
  --- | ---
  org.springframework.aop.aspectj.annotation | Classes enabling AspectJ 5 @Annotated classes to be used in Spring AOP.
  org.springframework.aop.framework | Package containing Spring's basic AOP infrastructure, compliant with the AOP Alliance interfaces.

- - ### org.springframework.aop.aspectj.annotation中AopConfigException的使用

    org.springframework.aop.aspectj.annotation中AopConfigException的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `NotAnAtAspectException` Extension of AopConfigException thrown when trying to perform an advisor generation operation on a class that is not an AspectJ annotation-style aspect.

    抛出AopConfigException的org.springframework.aop.aspectj.annotation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | AbstractAspectJAdvisorFactory.`validate(Class<?> aspectClass)`
    `void` | AspectJAdvisorFactory.`validate(Class<?> aspectClass)` Is the given class a valid AspectJ aspect class?

  - ### org.springframework.aop.framework中AopConfigException的使用

    抛出AopConfigException的org.springframework.aop.framework中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | Advised.`addAdvice(Advice advice)` Add the given AOP Alliance advice to the tail of the advice (interceptor) chain.
    `void` | AdvisedSupport.`addAdvice(Advice advice)`
    `void` | Advised.`addAdvice(int pos, Advice advice)` Add the given AOP Alliance Advice at the specified position in the advice chain.
    `void` | AdvisedSupport.`addAdvice(int pos, Advice advice)` Cannot add introductions this way unless the advice implements IntroductionInfo.
    `void` | Advised.`addAdvisor(Advisor advisor)` Add an advisor at the end of the advisor chain.
    `void` | Advised.`addAdvisor(int pos, Advisor advisor)` Add an Advisor at the specified position in the chain.
    `void` | AdvisedSupport.`addAdvisor(int pos, Advisor advisor)`
    `AopProxy` | AopProxyFactory.`createAopProxy(AdvisedSupport config)` Create an `AopProxy` for the given AOP configuration.
    `AopProxy` | DefaultAopProxyFactory.`createAopProxy(AdvisedSupport config)`
    `boolean` | AdvisedSupport.`removeAdvice(Advice advice)`
    `void` | Advised.`removeAdvisor(int index)` Remove the advisor at the given index.
    `void` | AdvisedSupport.`removeAdvisor(int index)`
    `boolean` | Advised.`replaceAdvisor(Advisor a, Advisor b)` Replace the given advisor.
    `boolean` | AdvisedSupport.`replaceAdvisor(Advisor a, Advisor b)`