final class UncheckedIOExceptions
extends java.lang.Object
IOException rethrow as UncheckedIOException.| Modifier | Constructor and Description |
|---|---|
private |
UncheckedIOExceptions() |
| Modifier and Type | Method and Description |
|---|---|
static java.io.UncheckedIOException |
create(java.lang.Object message)
Constructs a new UncheckedIOException for the given detail message.
|
static java.io.UncheckedIOException |
wrap(java.io.IOException e,
java.lang.Object message)
Constructs a new UncheckedIOException for the given detail message.
|
public static java.io.UncheckedIOException create(java.lang.Object message)
This method exists because there is no String constructor in UncheckedIOException.
message - the detail message.UncheckedIOException.public static java.io.UncheckedIOException wrap(java.io.IOException e,
java.lang.Object message)
This method exists because there is no String constructor in UncheckedIOException.
e - cause the IOException.message - the detail message.UncheckedIOException.