|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.arquillian.impl.Validate
public final class Validate

Validate Validation utility
| Method Summary | |
|---|---|
static void |
notNull(java.lang.Object obj,
java.lang.String message)
Checks that object is not null, throws exception if it is. |
static void |
notNullOrEmpty(java.lang.String string,
java.lang.String message)
Checks that the specified String is not null or empty, throws exception if it is. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void notNull(java.lang.Object obj,
java.lang.String message)
throws java.lang.IllegalArgumentException
obj - The object to checkmessage - The exception message
java.lang.IllegalArgumentException - Thrown if obj is null
public static void notNullOrEmpty(java.lang.String string,
java.lang.String message)
throws java.lang.IllegalArgumentException
string - The object to checkmessage - The exception message
java.lang.IllegalArgumentException - Thrown if obj is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||