public class ExceptionWrapper extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExceptionWrapper.RunnableWithExceptions<E extends Exception>
Function interface that throws exception for use in the noThrow function
|
| Constructor and Description |
|---|
ExceptionWrapper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
noThrow(ExceptionWrapper.RunnableWithExceptions fn,
String errorMessage) |
static void |
rethrow(Throwable t) |
public static void noThrow(ExceptionWrapper.RunnableWithExceptions fn, String errorMessage)
public static void rethrow(Throwable t)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.