public class ScriptiveUnitException extends RuntimeException
| Constructor and Description |
|---|
ScriptiveUnitException(String message) |
ScriptiveUnitException(String message,
Throwable nested) |
ScriptiveUnitException(Throwable nested) |
| Modifier and Type | Method and Description |
|---|---|
static Supplier<ScriptiveUnitException> |
fail(String fmt,
Object... args) |
static ScriptiveUnitException |
indexOutOfBounds(int index,
int size) |
protected static <E extends ScriptiveUnitException,T> |
validate(String format,
Function<String,E> exceptionFactory,
T target,
Predicate... predicates) |
static ScriptiveUnitException |
wrap(Throwable t) |
static ScriptiveUnitException |
wrap(Throwable t,
String format,
Object... args) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ScriptiveUnitException(String message)
public ScriptiveUnitException(Throwable nested)
public static ScriptiveUnitException wrap(Throwable t, String format, Object... args)
public static ScriptiveUnitException wrap(Throwable t)
public static Supplier<ScriptiveUnitException> fail(String fmt, Object... args)
public static ScriptiveUnitException indexOutOfBounds(int index, int size)
protected static <E extends ScriptiveUnitException,T> T validate(String format, Function<String,E> exceptionFactory, T target, Predicate... predicates)
Copyright © 2017. All rights reserved.