Interface ExceptionedCallable

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 ExceptionedCallable
Interface for executing code that does not return a value but may throw a checked exception. This Interface is identical to Callable except for the method call() being able to throw a checked exception
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The method to call.
  • Method Details

    • call

      void call() throws Exception
      The method to call.
      Throws:
      Exception - an exception was thrown