net.sf.ecl.datepicker.util
Class Assert
java.lang.Object
net.sf.ecl.datepicker.util.Assert
public class Assert
- extends Object
assertion utilities used to enforce code constraints.
- Author:
- Alexey Afanasyev, Alexey Kharlamov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isLegal
public static void isLegal(boolean flag,
String message)
fail
public static void fail(String message)
throws AssertionError
- Throws:
AssertionError
isTrue
public static void isTrue(boolean flag,
String message)
isTrue
public static void isTrue(boolean flag)
isNotNull
public static void isNotNull(Object ref,
String message)