public class Preconditions
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkArgumentNotNull(java.lang.Object reference,
java.lang.String argumentName)
Throws
IllegalArgumentException with an appropriate message if the reference is null. |
public static void checkArgumentNotNull(java.lang.Object reference,
java.lang.String argumentName)
IllegalArgumentException with an appropriate message if the reference is null.reference - the reference to be checkedargumentName - name of the argument that is being checked. The name used in the error message.Copyright © 2015. All Rights Reserved.