edu.sc.seis.TauP
Class Assert
java.lang.Object
edu.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
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 |
Assert
public Assert()
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-2006 Seismology at the University of South Carolina. All Rights Reserved.