EX - The throwable type that run() may throwpublic interface RunnableWhichThrows<EX extends java.lang.Exception>
Runnable, but run() is permitted to throw exception EX.
RunnableWhichThrows<thrown-exception>, but always
RunnableWhichThrows<? extends thrown-exception>.
| Modifier and Type | Method and Description |
|---|---|
void |
run()
"To run" an instance means to call this method and wait until it returns.
|