| Modifier and Type | Method and Description |
|---|---|
static <T extends Throwable> |
Revision.of(T subject)
Returns a new instance to review and handle a given exception.
|
<X extends Throwable> |
Revision.reThrow(Class<X> xClass)
Rethrows the associated exception if it matches the given exception type.
|
<X extends Throwable> |
Revision.throwIf(Predicate<? super T> condition,
Function<? super T,X> mapping)
Applies a given
mapping to the associated exception and throws the
result if the given condition applies. |
Copyright © 2021 Andreas Kluge-Kaindl, Bremen (de). All rights reserved.