Interface CheckedCallable<T,E extends Throwable>

Type Parameters:
T - the output type.
E - the throwable type.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CheckedCallable<T,E extends Throwable>
A Callable-like interface which allows throwing any Throwable. Checked exceptions are wrapped in an IllegalStateException.
Since:
6.2
Author:
Artem Bilan
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Runnable
     
  • Method Details