Interface ExceptionedCallableArgs<T>

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

    Modifier and Type
    Method
    Description
    void
    call(T... args)
    The method to call.
  • Method Details

    • call

      void call(T... args) throws Exception
      The method to call.
      Parameters:
      args - additional arguments supplied by the caller when this method is called
      Throws:
      Exception - an exception was thrown