@Public @FunctionalInterface public interface RunnableWithException extends ThrowingRunnable<Exception>
Runnable, this interface is used to capture a block of code
to be executed. In contrast to Runnable, this interface allows throwing
checked exceptions.| Modifier and Type | Method and Description |
|---|---|
void |
run()
The work method.
|
uncheckedvoid run() throws Exception
run in interface ThrowingRunnable<Exception>Exception - Exceptions may be thrown.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.