public abstract class Assert extends Object
| Constructor and Description |
|---|
Assert() |
public static void notNull(Object object, String message)
null .
Assert.notNull(clazz, "The class must not be null");
object - the object to checkmessage - the exception message to use if the assertion failsIllegalArgumentException - if the object is nullCopyright © 2015. All Rights Reserved.