org.jutil.debug
Class TAssertRuntime

java.lang.Object
  extended by org.jutil.debug.TAssertRuntime

public final class TAssertRuntime
extends java.lang.Object

This is the TAssertRuntime utility code class.


Method Summary
static void isFalse(boolean expression)
          Assert the statement isFalse
static void isFalse(boolean expression, java.lang.String message)
          Assert the statement isFalse if not false throw AssertException
static void isTrue(boolean expression)
          Assert the statement isTrue
static void isTrue(boolean expression, java.lang.String message)
          Assert the statement isTrue if not true throw AssertException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isTrue

public static final void isTrue(boolean expression)
Assert the statement isTrue


isTrue

public static final void isTrue(boolean expression,
                                java.lang.String message)
Assert the statement isTrue if not true throw AssertException


isFalse

public static final void isFalse(boolean expression)
Assert the statement isFalse


isFalse

public static final void isFalse(boolean expression,
                                 java.lang.String message)
Assert the statement isFalse if not false throw AssertException