public class PassThroughException extends RuntimeException
| Constructor and Description |
|---|
PassThroughException(IOException exception) |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
unwrap(SupplierWithException<T,IOException> supplier) |
static <T> T |
wrap(SupplierWithException<T,IOException> supplier) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic PassThroughException(IOException exception)
public static <T> T wrap(SupplierWithException<T,IOException> supplier)
public static <T> T unwrap(SupplierWithException<T,IOException> supplier) throws IOException
IOExceptionCopyright © 2018. All rights reserved.