edu.sc.seis.TauP
Class Assert

java.lang.Object
  extended byedu.sc.seis.TauP.Assert

public class Assert
extends java.lang.Object

utility class for checking assertions. The methods simply throw an IllegalArguementException if the assertion is not met.

Version:
1.1.3 Wed Jul 18 15:00:35 GMT 2001

Constructor Summary
Assert()
           
 
Method Summary
static void isFalse(boolean b, java.lang.String s)
           
static void isNotNull(java.lang.Object o, java.lang.String s)
           
static void isTrue(boolean b, java.lang.String s)
           
 
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

isTrue

public static void isTrue(boolean b,
                          java.lang.String s)
                   throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

isFalse

public static void isFalse(boolean b,
                           java.lang.String s)
                    throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

isNotNull

public static void isNotNull(java.lang.Object o,
                             java.lang.String s)
                      throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException


Copyright © 1999-2005 Seismology at the University of South Carolina. All Rights Reserved.