org.jfree.chart.util
public class ParamChecks extends java.lang.Object
Constructor and Description |
---|
ParamChecks() |
Modifier and Type | Method and Description |
---|---|
static void |
nullNotPermitted(java.lang.Object param,
java.lang.String name)
Throws an
IllegalArgumentException if the supplied
param is null . |
public ParamChecks()
public static void nullNotPermitted(java.lang.Object param, java.lang.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
).java.lang.IllegalArgumentException
- if param
is
null
.