public final class Preconditions
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
checkNotNull(java.lang.Object value,
java.lang.String message)
Checks if the passed in value is not Null.
|
public static void checkNotNull(java.lang.Object value, java.lang.String message)
value
- The object to be checked fo nullmessage
- The message to be associated with NPE, if value is null