org.apache.ivy.util
public final class Checks extends Object
Method Summary | |
---|---|
static File | checkAbsolute(File f, String fileName) |
static File | checkAbsolute(String path, String fileName) |
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 objectName the name of the object to check. This name will be used in the exception message.
Throws: IllegalArgumentException if the object is null