| Modifier and Type | Method and Description |
|---|---|
<X extends Throwable> |
WrappedException.reThrowCauseAs(Class<X> xClass)
Rethrows the cause of this exception if it matches the given exception type,
otherwise this exception will be returned.
|
<X extends Throwable> |
WrappedException.reThrowCauseIf(Predicate<? super Throwable> condition,
Function<? super Throwable,X> mapping)
Applies a given
mapping to the cause of this exception if the given
condition applies and throws the result, otherwise this exception will be returned. |
Copyright © 2023 Andreas Kluge-Kaindl, Bremen (de). All rights reserved.