Constructor and Description |
---|
FatalExceptionClassifier(Predicate<Throwable> validator,
Function<Throwable,Exception> throwableMapper) |
Modifier and Type | Method and Description |
---|---|
static FatalExceptionClassifier |
createChain(FatalExceptionClassifier... classifiers) |
boolean |
isFatal(Throwable err,
Consumer<Exception> throwableConsumer) |
static FatalExceptionClassifier |
withRootCauseOfType(Class<? extends Throwable> type,
Function<Throwable,Exception> mapper) |
public static FatalExceptionClassifier withRootCauseOfType(Class<? extends Throwable> type, Function<Throwable,Exception> mapper)
public static FatalExceptionClassifier createChain(FatalExceptionClassifier... classifiers)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.