T
- the type of the exception the accept method may throw@FunctionalInterface public interface ThrowingRunnable<T extends Throwable>
Runnable
like interface that may thrown an exception.Runnable
Modifier and Type | Method and Description |
---|---|
void |
run()
Execute an action, potentially throwing an exception.
|
Apache Camel