public abstract static class Async.ThrowingRunnable
extends java.lang.Object
implements java.lang.Runnable
Runnable, but allows the runOrThrow() method to throw an exception.
If the exception is an instance of RuntimeException, then it will be re-thrown, otherwise it will be
simply logged.
| Modifier and Type | Field and Description |
|---|---|
static java.util.logging.Logger |
LOGGER |
| Constructor and Description |
|---|
ThrowingRunnable() |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
abstract void |
runOrThrow() |