public class Assert
extends java.lang.Object
Debug,
AssertionException| Constructor and Description |
|---|
Assert() |
| Modifier and Type | Method and Description |
|---|---|
static void |
_assert(boolean cond)
Assert that a condition is true.
|
static void |
_assert(boolean cond,
java.lang.String msg)
Assert that a condition is true.
|
static void |
notReached()
Throw an AssertionException if this statement is reached.
|
static void |
notReached(java.lang.String msg)
Throw an AssertionException if this statement is reached.
|
static void |
notYetImplemented(java.lang.String msg)
Throw an AssertionException because functionlity is not yet implemented.
|
public static void _assert(boolean cond)
cond - The condition that is being tested.public static void _assert(boolean cond,
java.lang.String msg)
cond - The condition that is being tested.msg - A message describing what is wrong if the condition is false.public static void notReached(java.lang.String msg)
msg - A message describing what was reached.public static void notReached()
public static void notYetImplemented(java.lang.String msg)
msg - A message describing what is not implemented.