|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.integration.util.Assert
public class Assert
| Constructor Summary | |
|---|---|
Assert()
|
|
| Method Summary | |
|---|---|
static void |
notNull(java.lang.Object object)
Assert that an object is not null . |
static void |
notNull(java.lang.Object object,
java.lang.String message)
Assert that an object is not null . |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Assert()
| Method Detail |
|---|
public static void notNull(java.lang.Object object,
java.lang.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 fails
java.lang.IllegalArgumentException - if the object is null
public static void notNull(java.lang.Object object)
throws java.lang.IllegalArgumentException
null .
Assert.notNull(clazz, "The class must not be null");
object - the object to check
java.lang.IllegalArgumentException - if the object is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||