Interface Executable

  • 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 Executable
    Represent operations that need the Runnable like behavior. Use the Executable for operation that may throw and Exception
    Since:
    1.0
    Author:
    , Bobai Kato
    See Also:
    Runnable
    • Method Detail

      • execute

        void execute()
              throws Exception
        Execute the operation that may likely throw and Exception.
        Throws:
        Exception - that is thrown when operation executes.