org.rapla.components.util
Class Assert
java.lang.Object
org.rapla.components.util.Assert
public class Assert
- extends Object
Some of the assert functionality of 1.4 for 1.3 versions of Rapla
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Assert
public Assert()
notNull
public static void notNull(Object obj,
String text)
notNull
public static void notNull(Object obj)
isTrue
public static void isTrue(boolean condition,
String text)
isTrue
public static void isTrue(boolean condition)
fail
public static void fail()
throws AssertionError
- Throws:
AssertionError
fail
public static void fail(String text)
throws AssertionError
- Throws:
AssertionError
Copyright © 2000-2006 Rapla Team. All Rights Reseserved.