public interface CommonUtil
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CommonUtil.ActionE0<E extends Exception> |
static interface |
CommonUtil.FuncE0<R,E extends Exception> |
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureFileSystem(URI uri) |
static String |
getStackTraceString(Throwable tr) |
static <T extends Throwable,R> |
throwAsUncheck(Throwable t) |
static <T> void |
uncatch(CommonUtil.ActionE0<?> task) |
static <T> T |
uncatch(CommonUtil.FuncE0<T,?> task) |
static void |
uncheck(CommonUtil.ActionE0<?> task) |
static <T> T |
uncheck(CommonUtil.FuncE0<T,?> task) |
static void ensureFileSystem(URI uri) throws IOException
IOExceptionstatic <T extends Throwable,R> R throwAsUncheck(Throwable t) throws T extends Throwable
T extends Throwablestatic void uncheck(CommonUtil.ActionE0<?> task)
static <T> T uncheck(CommonUtil.FuncE0<T,?> task)
static <T> void uncatch(CommonUtil.ActionE0<?> task)
static <T> T uncatch(CommonUtil.FuncE0<T,?> task)
Copyright © 2018. All rights reserved.