- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A
Callable
that allows for checked exceptions.-
Method Summary
Modifier and TypeMethodDescriptioncall()
Run this callable.static <T> Callable
<T> sneaky
(CheckedCallable<T> callable) static <T> Callable
<T> unchecked
(CheckedCallable<T> callable) static <T> Callable
<T> unchecked
(CheckedCallable<T> callable, Consumer<Throwable> handler)
-
Method Details
-
call
Run this callable.- Throws:
Throwable
-
sneaky
-
unchecked
-
unchecked
-