org.rapla.components.util
Class Assert

java.lang.Object
  extended by org.rapla.components.util.Assert

public class Assert
extends Object

Some of the assert functionality of 1.4 for 1.3 versions of Rapla


Constructor Summary
Assert()
           
 
Method Summary
static void fail()
           
static void fail(String text)
           
static void isTrue(boolean condition)
           
static void isTrue(boolean condition, String text)
           
static void notNull(Object obj)
           
static void notNull(Object obj, String text)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Assert

public Assert()
Method Detail

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.