Package org.apache.commons.math
Class ArgumentOutsideDomainException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.math.MathException
org.apache.commons.math.FunctionEvaluationException
org.apache.commons.math.ArgumentOutsideDomainException
- All Implemented Interfaces:
Serializable
,MathThrowable
Error thrown when a method is called with an out of bounds argument.
- Since:
- 1.2
- Version:
- $Revision: 1070725 $ $Date: 2011-02-15 02:31:12 +0100 (mar. 15 févr. 2011) $
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionArgumentOutsideDomainException
(double argument, double lower, double upper) Constructs an exception with specified formatted detail message. -
Method Summary
Methods inherited from class org.apache.commons.math.FunctionEvaluationException
getArgument
Methods inherited from class org.apache.commons.math.MathException
getArguments, getGeneralPattern, getLocalizedMessage, getMessage, getMessage, getPattern, getSpecificPattern, printStackTrace, printStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ArgumentOutsideDomainException
public ArgumentOutsideDomainException(double argument, double lower, double upper) Constructs an exception with specified formatted detail message. Message formatting is delegated toMessageFormat
.- Parameters:
argument
- the failing function argumentlower
- lower bound of the domainupper
- upper bound of the domain
-