类 ExceptionTypeFilter
An
InstanceFilter implementation that handles exception types. A type
will match against a given candidate if it is assignable to that candidate.- 从以下版本开始:
- 4.0 2022/3/9 20:40
- 作者:
- Stephane Nicoll, Harry Yang
-
构造器概要
构造器构造器说明ExceptionTypeFilter(Collection<? extends Class<? extends Throwable>> includes, Collection<? extends Class<? extends Throwable>> excludes, boolean matchIfEmpty) -
方法概要
从类继承的方法 cn.taketoday.util.InstanceFilter
match, match, toString
-
构造器详细资料
-
ExceptionTypeFilter
public ExceptionTypeFilter(Collection<? extends Class<? extends Throwable>> includes, Collection<? extends Class<? extends Throwable>> excludes, boolean matchIfEmpty)
-
-
方法详细资料
-
match
从类复制的说明:InstanceFilterDetermine if the specifiedinstanceis equal to the specifiedcandidate.- 覆盖:
match在类中InstanceFilter<Class<? extends Throwable>>- 参数:
instance- the instance to handlecandidate- a candidate defined by this filter- 返回:
trueif the instance matches the candidate
-