org.springframework.aop.aspectj

## 类 AspectJAfterThrowingAdvice

- java.lang.Object
- - org.springframework.aop.aspectj.AbstractAspectJAdvice
  - - org.springframework.aop.aspectj.AspectJAfterThrowingAdvice

- 所有已实现的接口:
    Serializable, Advice, Interceptor, MethodInterceptor, AfterAdvice, AspectJPrecedenceInformation, org.springframework.core.Ordered

      public class AspectJAfterThrowingAdvice
      extends AbstractAspectJAdvice
      implements MethodInterceptor, AfterAdvice, Serializable

  另请参阅:
    序列化表格

- - ### 字段概要

    - ### 从类继承的字段 org.springframework.aop.aspectj.AbstractAspectJAdvice

      `aspectJAdviceMethod, JOIN_POINT_KEY`

    - ### 从接口继承的字段 org.springframework.core.Ordered

      `HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE`

  - ### 构造器概要

    构造器
    构造器和说明
    `AspectJAfterThrowingAdvice(Method aspectJBeforeAdviceMethod, AspectJExpressionPointcut pointcut, AspectInstanceFactory aif)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | `invoke(MethodInvocation mi)` 方法实现说明:执行我们的异常通知
    `boolean` | `isAfterAdvice()` Return whether this is an after advice.
    `boolean` | `isBeforeAdvice()` Return whether this is a before advice.
    `void` | `setThrowingName(String name)`

    - ### 从类继承的方法 org.springframework.aop.aspectj.AbstractAspectJAdvice

      `argBinding, buildSafePointcut, calculateArgumentBindings, createParameterNameDiscoverer, currentJoinPoint, getAspectClassLoader, getAspectInstanceFactory, getAspectJAdviceMethod, getAspectName, getDeclarationOrder, getDiscoveredReturningGenericType, getDiscoveredReturningType, getDiscoveredThrowingType, getJoinPoint, getJoinPointMatch, getJoinPointMatch, getOrder, getPointcut, invokeAdviceMethod, invokeAdviceMethod, invokeAdviceMethodWithGivenArgs, setArgumentNames, setArgumentNamesFromStringArray, setAspectName, setDeclarationOrder, setReturningName, setReturningNameNoCheck, setThrowingNameNoCheck, supportsProceedingJoinPoint, toString`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### 构造器详细资料

    - #### AspectJAfterThrowingAdvice

          public AspectJAfterThrowingAdvice(Method aspectJBeforeAdviceMethod,
                                            AspectJExpressionPointcut pointcut,
                                            AspectInstanceFactory aif)

  - ### 方法详细资料

    - #### isBeforeAdvice

          public boolean isBeforeAdvice()

      从接口复制的说明: `AspectJPrecedenceInformation`
      Return whether this is a before advice.
      指定者:
        `isBeforeAdvice` 在接口中 `AspectJPrecedenceInformation`

    - #### isAfterAdvice

          public boolean isAfterAdvice()

      从接口复制的说明: `AspectJPrecedenceInformation`
      Return whether this is an after advice.
      指定者:
        `isAfterAdvice` 在接口中 `AspectJPrecedenceInformation`

    - #### setThrowingName

          public void setThrowingName(String name)

      覆盖:
        `setThrowingName` 在类中 `AbstractAspectJAdvice`

    - #### invoke

          public Object invoke(MethodInvocation mi)
                        throws Throwable

      方法实现说明:执行我们的异常通知
      指定者:
        `invoke` 在接口中 `MethodInterceptor`
      参数:
        `mi` - ReflectiveMethodInvocation
      抛出:
        `Throwable`