| java.lang.Object org.apache.lenya.util.Assert
Assert | final public class Assert (Code) | | Assertion utility.
|
isTrue | final public static void isTrue(String expression, boolean value)(Code) | | Parameters: expression - The expression to check. Parameters: value - The value. throws: RuntimeException - if the value is not true. |
notNull | final public static void notNull(String parameterName, Object object)(Code) | | Parameters: parameterName - The parameter name to use in the exception. Parameters: object - The object. throws: RuntimeException - if the object is null. |
notNull | final public static void notNull(Object object)(Code) | | Parameters: parameterName - The parameter name to use in the exception. Parameters: object - The object. throws: RuntimeException - if the object is null. |
|
|