org.springframework.util

## 类 ExceptionTypeFilter

- java.lang.Object
- - org.springframework.util.InstanceFilter<Class<? extends Throwable>>
  - - org.springframework.util.ExceptionTypeFilter

-     public class ExceptionTypeFilter
      extends InstanceFilter<Class<? extends Throwable>>

  An `InstanceFilter` implementation that handles exception types. A type will match against a given candidate if it is assignable to that candidate.
  从以下版本开始:
    4.1
  作者:
    Stephane Nicoll

- - ### 构造器概要

    构造器
    构造器和说明
    `ExceptionTypeFilter(Collection<? extends Class<? extends Throwable>> includes, Collection<? extends Class<? extends Throwable>> excludes, boolean matchIfEmpty)`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected boolean` | `match(Class<? extends Throwable> instance, Class<? extends Throwable> candidate)` Determine if the specified `instance` is equal to the specified `candidate`.

    - ### 从类继承的方法 org.springframework.util.InstanceFilter

      `match, match, toString`

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

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

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

    - #### ExceptionTypeFilter

          public ExceptionTypeFilter(Collection<? extends Class<? extends Throwable>> includes,
                                     Collection<? extends Class<? extends Throwable>> excludes,
                                     boolean matchIfEmpty)

  - ### 方法详细资料

    - #### match

          protected boolean match(Class<? extends Throwable> instance,
                                  Class<? extends Throwable> candidate)

      从类复制的说明: `InstanceFilter`
      Determine if the specified `instance` is equal to the specified `candidate`.
      覆盖:
        `match` 在类中 `InstanceFilter<Class<? extends Throwable>>`
      参数:
        `instance` - the instance to handle
        `candidate` - a candidate defined by this filter
      返回:
        `true` if the instance matches the candidate