Constructor and Description |
---|
PredicateBinaryExceptionClassifier(com.google.common.base.Predicate<Throwable> predicate)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
classify(Throwable classifiable) |
com.google.common.base.Predicate<Throwable> |
getPredicate()
Get the predicate that is in use.
|
void |
setPredicate(com.google.common.base.Predicate<Throwable> predicate)
Set the predicate that is in use
|
public PredicateBinaryExceptionClassifier(com.google.common.base.Predicate<Throwable> predicate)
predicate
- The predicate to use to check the exceptionpublic com.google.common.base.Predicate<Throwable> getPredicate()
public void setPredicate(com.google.common.base.Predicate<Throwable> predicate)
predicate
- the predicateCopyright © 2019. All Rights Reserved.