|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ivy.util.Checks
public final class Checks
Utility class used to perform some checks.
Method Summary | |
---|---|
static void |
checkNotNull(java.lang.Object o,
java.lang.String objectName)
Checks that an object is not null, and throw an exception if the object is null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void checkNotNull(java.lang.Object o, java.lang.String objectName)
o
- the object to checkobjectName
- the name of the object to check. This name will be used in the exception message.
java.lang.IllegalArgumentException
- if the object is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |