Package jenkins.util
Interface ThrowingRunnable<T extends Throwable>
- Type Parameters:
T- the checked exception type, or might beRuntimeException
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents an operation that does not return a result.
Similar to
Runnable but can throw a checked exception.
Similar to ThrowingCallable but does not return a value.-
Method Summary
-
Method Details
-
run
void run() throws TRuns this operation.- Throws:
T- if unable to run
-