Interface CheckedCallable<V,​E extends Exception>

  • 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<V,​E extends Exception>
    Callable which throws a specific generically parameterized type of checked exception instead of a fixed Exception. (Not technically extending Callable, because of a javac generics bug; that's OK, it doesn't have to.)
    Author:
    Michael Vorburger.ch