Modifier and Type | Method and Description |
---|---|
static IORunnable |
IORunnable.checked(Runnable action)
Returns a
Runnable that performs the action action, and unwraps any UncheckedIOException that is thrown by throwing its
cause . |
Modifier and Type | Method and Description |
---|---|
static Runnable |
IORunnable.unchecked(IORunnable action)
Returns a
Runnable that performs the action action, and wraps any IOException that is thrown in an
UncheckedIOException . |
Copyright © 2017–2020. All rights reserved.