com.limegroup.gnutella
Class Assert

java.lang.Object
  extended bycom.limegroup.gnutella.Assert

public class Assert
extends java.lang.Object

Assertion checking.


Constructor Summary
Assert()
           
 
Method Summary
static void silent(boolean ok)
           
static void silent(boolean ok, java.lang.String msg)
          A silent assert.
static void that(boolean ok)
           
static void that(boolean ok, java.lang.String msg)
           
 
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

silent

public static void silent(boolean ok,
                          java.lang.String msg)
A silent assert. Checks a boolean condition and notifies ErrorService if the error occurred, but does not throw an exception to propogate further.


silent

public static void silent(boolean ok)

that

public static void that(boolean ok,
                        java.lang.String msg)

that

public static void that(boolean ok)