public class CHK
extends java.lang.Object
Constructor and Description |
---|
CHK() |
Modifier and Type | Method and Description |
---|---|
static void |
CHECK_NOT_NULL(java.lang.Object object)
Check that the given object is not null; throws a CheckFailedError
if it is
|
static void |
CHECK(boolean condition)
throw CheckFailedError if false
|
static void |
CHECK(boolean condition,
java.lang.String message)
throw CheckFailedError if false, displaying the required message
|
public static final void CHECK(boolean condition)
condition
- public static final void CHECK(boolean condition, java.lang.String message)
condition
- message
- public static final void CHECK_NOT_NULL(java.lang.Object object)
object
-