| Package | Description |
|---|---|
| com.github.dakusui.scriptiveunit.core | |
| com.github.dakusui.scriptiveunit.exceptions |
| Modifier and Type | Method and Description |
|---|---|
static <E extends ScriptiveUnitException> |
Utils.check(boolean cond,
Supplier<E> thrower) |
static <E extends ScriptiveUnitException,V> |
Utils.check(V target,
Predicate<? super V> predicate,
Supplier<? extends E> thrower) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConfigurationException |
class |
FacadeException |
class |
ResourceException |
class |
SyntaxException |
class |
TypeMismatch |
| Modifier and Type | Method and Description |
|---|---|
static <E extends ScriptiveUnitException> |
SyntaxException.nonArray(org.codehaus.jackson.JsonNode jsonNode) |
static <E extends ScriptiveUnitException> |
SyntaxException.nonText(org.codehaus.jackson.JsonNode jsonNode) |
protected static <E extends ScriptiveUnitException,T> |
ScriptiveUnitException.validate(String format,
Function<String,E> exceptionFactory,
T target,
Predicate... predicates) |
| Modifier and Type | Method and Description |
|---|---|
static ScriptiveUnitException |
ScriptiveUnitException.indexOutOfBounds(int index,
int size) |
static ScriptiveUnitException |
ScriptiveUnitException.wrap(Throwable t) |
static ScriptiveUnitException |
ScriptiveUnitException.wrap(Throwable t,
String format,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
static Supplier<ScriptiveUnitException> |
ScriptiveUnitException.fail(String fmt,
Object... args) |
Copyright © 2017. All rights reserved.