Interface VoidFunctionWithException

  • All Known Implementing Classes:
    NamedVoidFunctionWithException
    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 VoidFunctionWithException
    The Java Function interface should return a value. However if you need only to invoke a handler without a result you need a functional interface such as VoidFunctionWithException. The VoidFunctionWithException inteface is designed to manage the potential exception that a function can throw.
    Since:
    2 nov. 2017