|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.util.Assert
To enable assertions as long as 1.4 is not in production.
Usage is as follows:
if (Assert.ON) Assert.check (condition);
| Field Summary | |
static boolean |
ON
change this if assertions should be checked warning: this is changed in the build.xml |
| Method Summary | |
static void |
check(boolean condition)
Throws a runtime exception if condition is not true |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final boolean ON
| Method Detail |
public static void check(boolean condition)
condition - the condition to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||