org.mozilla.jss.util
public class Assert extends Object
See Also: Debug AssertionException
Method Summary | |
---|---|
static void | notReached(String msg)
Throw an AssertionException if this statement is reached.
|
static void | notReached()
Throw an AssertionException if this statement is reached. |
static void | notYetImplemented(String msg)
Throw an AssertionException because functionlity is not yet implemented.
|
static void | _assert(boolean cond)
Assert that a condition is true. |
static void | _assert(boolean cond, String msg)
Assert that a condition is true. |
Parameters: msg A message describing what was reached.
Parameters: msg A message describing what is not implemented.
Parameters: cond The condition that is being tested.
Parameters: cond The condition that is being tested. msg A message describing what is wrong if the condition is false.