edu.cmu.aura.service.util
Class Assert

java.lang.Object
  |
  +--edu.cmu.aura.service.util.Assert

public final class Assert
extends java.lang.Object

Assert provides C-like assert capabilities.


Field Summary
static boolean assert
           
 
Constructor Summary
Assert()
           
 
Method Summary
static void assert(boolean expression)
          Assert a condition, if it fails throw a RuntimeException.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

assert

public static final boolean assert
Constructor Detail

Assert

public Assert()
Method Detail

assert

public static final void assert(boolean expression)
Assert a condition, if it fails throw a RuntimeException.
Parameters:
expression - the expression to assert.