public class Assert extends Object
| Constructor and Description |
|---|
Assert() |
| Modifier and Type | Method and Description |
|---|---|
static void |
greaterThan(double num,
double exp,
String msg) |
static void |
notEmpty(String str,
String msg) |
static <T> void |
notEmpty(T[] arr,
String msg) |
static void |
notNull(Object object,
String msg) |
static void |
throwException(String msg) |
static void |
throwException(Throwable t) |
static <T> T |
wrap(Callable<T> callable) |
public static void greaterThan(double num,
double exp,
String msg)
public static <T> void notEmpty(T[] arr,
String msg)
public static <T> T wrap(Callable<T> callable)
public static void throwException(String msg) throws BladeException
BladeExceptionpublic static void throwException(Throwable t) throws BladeException
BladeExceptionCopyright © 2017. All rights reserved.