public class Exceptions extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Exceptions.ThrowingRunnable |
| Constructor and Description |
|---|
Exceptions() |
| Modifier and Type | Method and Description |
|---|---|
static void |
runAndEatExceptions(Exceptions.ThrowingRunnable throwingRunnable) |
static <T extends Exception> |
runAndTransformExceptions(Exceptions.ThrowingRunnable throwingRunnable,
Function<Exception,T> exceptionMapper) |
public static void runAndEatExceptions(Exceptions.ThrowingRunnable throwingRunnable)
Copyright © 2022. All rights reserved.