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 Detail

      • execute

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