Interface RunThrowable
-
- All Superinterfaces:
Runnable
- 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 RunThrowable extends Runnable
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static voidhandleConnection(RunThrowable function)default voidrun()voidrunThrows()Performs this operation on the given argument.
-
-
-
Method Detail
-
runThrows
void runThrows() throws ThrowablePerforms this operation on the given argument.- Throws:
Throwable- when the underlying apply throws
-
handleConnection
static void handleConnection(RunThrowable function)
-
-