| Package | Description |
|---|---|
| de.team33.libs.exceptional.v4 |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Throwable> |
Handling.of(T subject)
Initiates a
Handling of the given subject. |
<X extends Throwable> |
Handling.reThrowCauseIf(Class<X> type)
|
<X extends Throwable> |
Handling.reThrowIf(Class<X> type)
Re-throws the associated subject if it matches the given exception
type. |
<X extends Throwable> |
Handling.throwMapped(Function<? super T,X> mapping)
|
<X extends Throwable> |
Handling.throwMappedCause(Function<Throwable,X> mapping)
Applies the given
mapping to the cause of the
associated subject and throws the result if is it NOT null. |
Copyright © 2021. All rights reserved.