public class NullArgumentException extends MathIllegalArgumentException
null argument must throw
this exception.
This class is meant to signal a precondition violation ("null is an illegal
argument") and so does not extend the standard NullPointerException.
Propagation of NullPointerException from within Commons-Math is
construed to be a bug.| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
Serializable version Id.
|
| Constructor and Description |
|---|
NullArgumentException()
Default constructor.
|
NullArgumentException(Localizable pattern,
java.lang.Object... arguments) |
getContext, getLocalizedMessage, getMessageprivate static final long serialVersionUID
public NullArgumentException()
public NullArgumentException(Localizable pattern, java.lang.Object... arguments)
pattern - Message pattern providing the specific context of
the error.arguments - Values for replacing the placeholders in pattern.Copyright (c) 2003-2015 Apache Software Foundation