| java.lang.Object org.apache.ivy.util.Checks
Checks | final public class Checks (Code) | | Utility class used to perform some checks.
|
Method Summary | |
public static void | checkNotNull(Object o, String objectName) Checks that an object is not null, and throw an exception if the object is null.
Parameters: o - the object to check Parameters: objectName - the name of the object to check. |
checkNotNull | public static void checkNotNull(Object o, String objectName)(Code) | | Checks that an object is not null, and throw an exception if the object is null.
Parameters: o - the object to check Parameters: objectName - the name of the object to check. This name will be used in the exception message. throws: IllegalArgumentException - if the object is null |
|
|