public class ExceptionTypeFilter extends InstanceFilter<ClassSE<? extends ThrowableSE>>
InstanceFilter
実装。型は、候補に割り当て可能な場合、その候補と一致します。コンストラクターと説明 |
---|
ExceptionTypeFilter(CollectionSE<? extends ClassSE<? extends ThrowableSE>> includes, CollectionSE<? extends ClassSE<? extends ThrowableSE>> excludes, boolean matchIfEmpty) |
修飾子と型 | メソッドと説明 |
---|---|
protected boolean | match(ClassSE<? extends ThrowableSE> instance, ClassSE<? extends ThrowableSE> candidate) 指定された instance が指定された candidate と等しいかどうかを判別します。 |
match, match, toString
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public ExceptionTypeFilter(CollectionSE<? extends ClassSE<? extends ThrowableSE>> includes, CollectionSE<? extends ClassSE<? extends ThrowableSE>> excludes, boolean matchIfEmpty)
protected boolean match(ClassSE<? extends ThrowableSE> instance, ClassSE<? extends ThrowableSE> candidate)
InstanceFilter
instance
が指定された candidate
と等しいかどうかを判別します。InstanceFilter<ClassSE<? extends ThrowableSE>>
の match
instance
- 処理するインスタンス candidate
- このフィルターで定義された候補 true
(インスタンスが候補と一致する場合)