Package 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.
-
-
Constructor Summary
Constructors Constructor Description Assert()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
isFalse(boolean b, java.lang.String s)
static void
isTrue(boolean b, java.lang.String s)
-
-
-
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
-
-