Interface SpecificThrowingRunnable<E extends Throwable>
- Type Parameters:
E
- The exception type
- All Known Subinterfaces:
ThrowingRunnable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Similar to a
Runnable
, except that the functional run
method is allowed to throw the specified exception.- Since:
- 2.11.0
-
Method Summary
-
Method Details
-
run
Runs thisThrowingRunnable
.- Throws:
E
- Any exception
-