public class AWSExceptionManager extends Object
Throwable class inheritance in search of a mapping
function which will convert that throwable into a RuntimeException.
If no mapping function is found, the default function will be applied.| Constructor and Description |
|---|
AWSExceptionManager() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Throwable> |
add(@NonNull Class<T> clazz,
@NonNull Function<T,RuntimeException> function) |
RuntimeException |
apply(Throwable t) |
public <T extends Throwable> void add(@NonNull @NonNull Class<T> clazz, @NonNull @NonNull Function<T,RuntimeException> function)
public RuntimeException apply(Throwable t)
Copyright © 2025. All rights reserved.