ostore.util
Class Assert

java.lang.Object
  |
  +--ostore.util.Assert

public class Assert
extends Object

Assert is a closure used to assert various things in the code (this can be useful for debugging).

Version:
$Id: Assert.java,v 1.8 2002/08/07 21:12:08 srhea Exp $
Author:
Chris Wells

Constructor Summary
Assert()
           
 
Method Summary
static void assert(boolean b, String msg)
          Deprecated. Keyword "assert" invalid with new jikes
 
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

assert

public static void assert(boolean b,
                          String msg)
Deprecated. Keyword "assert" invalid with new jikes

Assert that a condition is true; if not, print out a message and die
Parameters:
b - == boolean to assert as true
msg - == message to output to stderr if b is false