|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.chart.util.ParamChecks
public class ParamChecks
A utility class for checking parameters.
Constructor Summary | |
---|---|
ParamChecks()
|
Method Summary | |
---|---|
static void |
nullNotPermitted(java.lang.Object param,
java.lang.String name)
Throws an IllegalArgumentException if the supplied
param is null . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParamChecks()
Method Detail |
---|
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
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |