Interface ThrowingAction

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 ThrowingAction
Functional interface which takes 0 parameters and returns nothing and can throw a checked exception.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Execute action.
  • Method Details

    • execute

      void execute() throws Exception
      Execute action.
      Throws:
      Exception - any exception thrown by the encapsulated code