Interface AiServiceCapture.ThrowingRunnable

Enclosing class:
AiServiceCapture
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 static interface AiServiceCapture.ThrowingRunnable
A lambda to capture that returns nothing. It can throw checked exceptions; capture(...) rethrows them unchanged, not wrapped, although it does not declare them. A lambda that returns a value is a Callable, whose checked exceptions are rethrown the same way.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()