public abstract class Exceptions extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Exceptions.Action |
Constructor and Description |
---|
Exceptions() |
Modifier and Type | Method and Description |
---|---|
static <E extends Throwable> |
rethrow(Exceptions.Action action,
Function<Throwable,E> mapper) |
static boolean |
safe(Exceptions.Action action) |
static <T> T |
sneakyThrows(Callable<T> supplier) |
public static <T> T sneakyThrows(Callable<T> supplier)
public static boolean safe(Exceptions.Action action)
Copyright © 2019 Suncode. All rights reserved.