org.apache.commons.math3.exception
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,
Object... arguments) |
getContext, getLocalizedMessage, getMessage
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
public NullArgumentException()
public NullArgumentException(Localizable pattern, Object... arguments)
pattern
- Message pattern providing the specific context of
the error.arguments
- Values for replacing the placeholders in pattern
.Copyright (c) 2003-2013 Apache Software Foundation