public class ParamChecks extends Object
| Constructor and Description |
|---|
ParamChecks() |
| Modifier and Type | Method and Description |
|---|---|
static void |
nullNotPermitted(Object param,
String name)
Throws an
IllegalArgumentException if the supplied
param is null. |
public static void nullNotPermitted(Object param, String name)
IllegalArgumentException if the supplied
param is null.param - the parameter to check (null permitted).name - the name of the parameter (to use in the exception message
if param is null).IllegalArgumentException - if param is
null.Copyright © 2001-2014 JFree.org. All Rights Reserved.