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.Constructor and Description |
---|
NullArgumentException()
Default constructor.
|
NullArgumentException(Localizable pattern,
Object... arguments) |
getContext, getLocalizedMessage, getMessage
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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 © 2003–2016 The Apache Software Foundation. All rights reserved.